A quick hack fix that worked around is at :
 --- /usr/lib/python2.7/dist-packages/cloudinit/DataSourceNoCloud.py.dist       
2012-02-17 22:03:10.000000000 +0000
+++ /usr/lib/python2.7/dist-packages/cloudinit/DataSourceNoCloud.py     
2012-02-28 15:36:30.365991585 +0000
@@ -44,7 +44,7 @@
 
     def get_data(self):
         defaults = {
-            "instance-id": "nocloud", "dsmode": "net"
+            "instance-id": "nocloud", "dsmode": self.dsmode
         }
 
         found = []

but i believe that that that actually breaks some of the behavior i was
hoping for with the network interfaces code (ie, to avoid trying to
bring up networking both in local and net).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/942695

Title:
  cloud-init local data source broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/942695/+subscriptions

-- 
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to