forked from pool/cloud-init
Accepting request 445580 from home:kukuk:branches:Cloud:Tools
- fix syntax error in datasource LocalDisk (fix got somehow lost) OBS-URL: https://build.opensuse.org/request/show/445580 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=73
This commit is contained in:
parent
ccc9212914
commit
b820e2a987
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 13 12:42:18 CET 2016 - kukuk@suse.de
|
||||||
|
|
||||||
|
- fix syntax error in datasource LocalDisk (fix got somehow lost)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 12:47:09 UTC 2016 - dmueller@suse.com
|
Mon Dec 12 12:47:09 UTC 2016 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
+ return "%s [seed=%s][dsmode=%s]" % (root, self.seed, self.dsmode)
|
+ return "%s [seed=%s][dsmode=%s]" % (root, self.seed, self.dsmode)
|
||||||
+
|
+
|
||||||
+ def get_data(self):
|
+ def get_data(self):
|
||||||
+ if not os.path.isdir('/cloud-init-config')
|
+ if not os.path.isdir('/cloud-init-config'):
|
||||||
+ return False
|
+ return False
|
||||||
+
|
+
|
||||||
+ defaults = {"instance-id": DEFAULT_IID}
|
+ defaults = {"instance-id": DEFAULT_IID}
|
||||||
|
Loading…
Reference in New Issue
Block a user