Merge "Handle non-cloud-init installs"
This commit is contained in:
commit
88309de96b
@ -7,6 +7,8 @@ fi
|
|||||||
set -eu
|
set -eu
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
# cloud-init May not actually be installed
|
||||||
|
mkdir -p /etc/cloud/cloud.cfg.d
|
||||||
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: localhost
|
manage_etc_hosts: localhost
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user