diskimage-builder/elements/base
Giulio Fidente cde4cef215 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
2015-01-21 13:21:53 +01:00
..
cleanup.d Truncate instead of deleting log files 2014-08-28 19:18:30 -05:00
environment.d Revert "introduce $SYSTEMD_SYSTEM_UNIT_DIR" 2014-10-17 10:29:34 +02:00
extra-data.d Support installing packages by default 2014-10-28 15:05:53 -04:00
install.d Switch manage_etc_hosts from True to localhost 2015-01-21 13:21:53 +01:00
pre-install.d Use $DISTRO_NAME instead of local lsb_release 2014-06-26 16:47:21 -04:00
root.d Use DIB_IMAGE_CACHE everywhere 2014-10-05 13:58:32 -07:00
dib-init-system set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
element-deps Update base element to make use of pkg-map 2014-06-20 16:02:28 -04:00
pkg-map Map dkms package for SUSE in base element 2014-09-02 18:17:45 +02:00
README.md Move /tmp/ccache setup to base element 2013-10-10 16:27:09 +11:00

This is the base element.

Almost all users will want to include this in their disk image build, as it includes a lot of useful functionality.

Notes:

  • If you are getting warnings during the build about your locale being missing, consider installing/generating the relevant locale. This may be as simple as having language-pack-XX installed in the pre-install stage

  • This element ensures /tmp/ccache will be available in the chroot during the root, extra-data, pre-install, install and post-install stages. /tmp/ccache is unavailable during block-device, finalise and cleanup stages as it will have been automatically unmounted by then.