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

9 lines
149 B
Bash
Executable File

#!/bin/bash
# Tweak the stock ubuntu cloud-init config
set -e
sudo dd of=/etc/cloud/cloud.cfg.d/10_etc_hosts.cfg << EOF
manage_etc_hosts: True
EOF