diff --git a/cloud-init.changes b/cloud-init.changes index 9b54cbd..a5fdcc0 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 25 22:24:31 UTC 2014 - rschweikert@suse.com + +- initialize variable in method setting the instance hostname (BNC #884392) + modifies: suseIntegratedHandler.patch + ------------------------------------------------------------------- Tue Jun 24 19:49:34 UTC 2014 - rschweikert@suse.com diff --git a/suseIntegratedHandler.patch b/suseIntegratedHandler.patch index c6b4652..d1f9c53 100644 --- a/suseIntegratedHandler.patch +++ b/suseIntegratedHandler.patch @@ -1,6 +1,6 @@ --- /dev/null +++ cloudinit/distros/opensuse.py -@@ -0,0 +1,209 @@ +@@ -0,0 +1,210 @@ +# vi: ts=4 expandtab +# +# Copyright (C) 2014 SUSE LLC @@ -153,6 +153,7 @@ + if self.systemdDist: + util.subp(['hostnamectl', 'set-hostname', str(hostname)]) + else: ++ conf = None + try: + # Try to update the previous one + # so lets see if we can read it first.