Switch manage_etc_hosts from True to localhost
When set to true this cloud-init setting overwrites the /etc/hosts file at reboot, breaking stuff in TripleO where controllers rely on resolving each other by name. We still want cloud-init to add in there a mapping for the local fqdn, so we switched to 'localhost' [1] 1. http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config.txt#L470 Change-Id: I85468dece3b67f39841aa826f9b7ca4bf113027a Closes-Bug: 1411594
This commit is contained in:
parent
302fdd57bb
commit
cde4cef215
@ -5,5 +5,5 @@ set -eu
|
|||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
dd of=/etc/cloud/cloud.cfg.d/10_etc_hosts.cfg << EOF
|
dd of=/etc/cloud/cloud.cfg.d/10_etc_hosts.cfg << EOF
|
||||||
manage_etc_hosts: True
|
manage_etc_hosts: localhost
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user