Ubuntu - Cloud-init - Routed Networking Problem

5 Nov
2016
5 Nov
'16
6:19 p.m.
Hi, I am trying to solve a problem maybe someone knows: i need routed network on ubuntu with the command post-up. However upon runing cloud-init this command gets deleted on /etc/network/interfaces. Is there any other place to put post-up route instead of /etc/network/interfaces? Is there a way to have cloud-init inject these commands? Regards Thanks

6 Nov
6 Nov
8:15 a.m.
On 5 November 2016 at 20:19, Erick Vogeler <erickvogeler@gmail.com> wrote:
Is there a way to have cloud-init inject these commands?
You can run arbitrary commands by using the YAML configuration snippet [1]. [1]: http://cloudinit.readthedocs.io/en/latest/topics/modules.html#runcmd -- Barak Korren bkorren@redhat.com RHEV-CI Team
3198
Age (days ago)
3199
Last active (days ago)
1 comments
2 participants
participants (2)
-
Barak Korren
-
Erick Vogeler