SHA256
1
0
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:
Robert Schweikert 2016-12-14 14:17:17 +00:00 committed by Git OBS Bridge
parent ccc9212914
commit b820e2a987
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -41,7 +41,7 @@
+ return "%s [seed=%s][dsmode=%s]" % (root, self.seed, self.dsmode)
+
+ def get_data(self):
+ if not os.path.isdir('/cloud-init-config')
+ if not os.path.isdir('/cloud-init-config'):
+ return False
+
+ defaults = {"instance-id": DEFAULT_IID}