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}