forked from pool/cloud-init
- initialize variable in method setting the instance hostname (BNC #884392)
modifies: suseIntegratedHandler.patch OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=16
This commit is contained in:
parent
fff2928063
commit
2a35a3624a
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user