diskimage-builder/elements/apt-conf/README.rst
Gregory Haynes c4bbb6f3bc Create docs site containing element READMEs
We currently do not have the ability to create a docs site which
outlines all the elements.

Change-Id: I77ccf61e0c4b1509b3e7ce9b8f15ea5ccfd50d9b
2015-02-10 11:45:35 -08:00

22 lines
694 B
ReStructuredText

========
apt-conf
========
This element overrides 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"