Comment 2 for bug 942695

Revision history for this message
Scott Moser (smoser) wrote :

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).