diskimage-builder/elements/apt-sources
Stephen Mulcahy 94d2cc42c6 Remove dependency on /etc/lsb-release
/etc/lsb-release doesn't always exist in cloud images and doesn't
serve any significant purpose in this element so removing the
dependency entirely.

Change-Id: I4d972074e6e10fea09a875cbc4ed4e60248d46d9
2014-04-18 11:43:17 +01:00
..
extra-data.d Remove dependency on /etc/lsb-release 2014-04-18 11:43:17 +01:00
README.md Better apt-sources docs. 2014-03-06 13:29:13 +13:00

README.md

Override the default sources.list

For APT based systems, if your network connection is slow for the default sources.list in the upstream cloud image, you can define DIB_APT_SOURCES with your favorite sources.list to override it, before running devtest.sh.

The new sources.list will take effect at build time and run time.

If you want to use this element with tripleo-incubator scripts, set NODE_DIST / SEED_DIB_EXTRA_ARGS / UNDERCLOUD_DIB_EXTRA_ARGS / OVERCLOUD_CONTROL_DIB_EXTRA_ARGS / OVERCLOUD_COMPUTE_DIB_EXTRA_ARGS to make it take effect at the appropriate time.

For instance, before running devtest.sh: export DIB_APT_SOURCES=/etc/apt/sources.list export NODE_DIST="ubuntu apt-sources"