Ubuntu Pastebin

Paste from smoser at Tue, 29 Mar 2016 16:59:24 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
=== modified file 'bin/cloud-init'
--- bin/cloud-init	2016-03-23 14:31:11 +0000
+++ bin/cloud-init	2016-03-29 16:49:34 +0000
@@ -259,6 +259,7 @@
             util.logexc(LOG, ("No instance datasource found!"
                               " Likely bad things to come!"))
         if not args.force:
+            init.apply_network_config()
             if args.local:
                 return (None, [])
             else:

=== modified file 'cloudinit/distros/debian.py'
--- cloudinit/distros/debian.py	2016-03-23 15:00:37 +0000
+++ cloudinit/distros/debian.py	2016-03-29 16:59:14 +0000
@@ -82,7 +82,8 @@
         ns = net.parse_net_config_data(netconfig)
         net.render_network_state(target="/", network_state=ns,
                                  eni=self.network_conf_fn,
-                                 links_prefix=self.links_prefix)
+                                 links_prefix=self.links_prefix,
+                                 netrules=None)
         util.del_file("/etc/network/interfaces.d/eth0.cfg")
         return []
 
Download as text