From b820e2a987785aecab33cc9ee7b608161c931d206c3a43e80034e15b13e47137 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Wed, 14 Dec 2016 14:17:17 +0000 Subject: [PATCH] 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 --- cloud-init.changes | 5 +++++ datasourceLocalDisk.patch | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cloud-init.changes b/cloud-init.changes index 0f35fd7..4bc05a1 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -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 diff --git a/datasourceLocalDisk.patch b/datasourceLocalDisk.patch index e4865f0..815f15f 100644 --- a/datasourceLocalDisk.patch +++ b/datasourceLocalDisk.patch @@ -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}