diskimage-builder/elements/base/install.d/10-cloud-init

10 lines
166 B
Plaintext
Raw Normal View History

#!/bin/bash
# Tweak the stock ubuntu cloud-init config
set -eu
set -o pipefail
dd of=/etc/cloud/cloud.cfg.d/10_etc_hosts.cfg << EOF
manage_etc_hosts: localhost
EOF