diskimage-builder/elements/base/install.d/10-cloud-init
Robert Collins 2b5557ea30 Don't use sudo in base.
Install.d hooks are already root, we don't need plain sudo there.

Change-Id: I69747049b2f5f649eb503a24487bbb3a4151ae21
2013-02-27 15:51:10 +13:00

9 lines
144 B
Bash
Executable File

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