diskimage-builder/elements/apt-conf
Ben Nemec 16be6d7ce0 set -u and -o pipefail everywhere
As with the previous similar changes, this is intended to catch
problems as they happen instead of ignoring them and continuing on
to potentially fail later.  Setting this on all existing scripts
will allow us to enforce use via Jenkins.

Change-Id: Iad2d490c86dceab148ea9ab08f457c49a5d5352e
2014-05-06 15:51:07 -05:00
..
extra-data.d set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
README.md Enable custom apt.conf in apt-conf element 2014-02-26 19:10:23 +00:00

Override the default apt.conf

For APT based systems, if you require specific options for apt operations, you can define DIB_APT_CONF with your favorite apt.conf to override it, before running devtest.sh.

The new apt.conf 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_CONF=/etc/apt/apt.conf
export NODE_DIST="ubuntu apt-conf"