Disable cloud-init, if installed
Cloud-init is changing our hostname on servers when we reboot. Stop this from happening by disabling it. Change-Id: Ia825a7823d7099870885636e0adb4134c5568715 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
59c3cc085b
commit
92d89a3d8a
@ -313,4 +313,12 @@ class openstack_project::server (
|
||||
}
|
||||
}
|
||||
|
||||
# Disable cloud-init
|
||||
file { '/etc/cloud':
|
||||
ensure => directory,
|
||||
}
|
||||
file { '/etc/cloud/cloud-init.disabled':
|
||||
ensure => file,
|
||||
require => File['/etc/cloud'],
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user