From e5f120274b16fc9f09f92260e35ec18c77ba84e3 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Thu, 13 Feb 2014 09:20:01 +1300 Subject: [PATCH] Better apt-sources docs. Minor layout tweaks, fix markdown syntax errors and mention the new SEED_DIB_EXTRA_ARGS variable. Change-Id: I18104c80e64d06b084df57ee5adc15519bc3ddf6 --- elements/apt-sources/README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/elements/apt-sources/README.md b/elements/apt-sources/README.md index 27b11fd3..2c822726 100644 --- a/elements/apt-sources/README.md +++ b/elements/apt-sources/README.md @@ -1,15 +1,16 @@ -Override the default sources.list +# Override the default sources.list -For Ubuntu OS, if your network connection is slow for the default sources.list, -you can define DIB_APT_SOURCES with your favorite sources.list to override it, -before running devtest.sh. +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 in tripleo project, set NODE_DIST or -EXTRA_ELEMENTS / UNDERCLOUD_DIB_EXTRA_ARGS / OVERCLOUD_DIB_EXTRA_ARGS -to make it 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. -e.g. before running devtest.sh: -export DIB_APT_SOURCES=/etc/apt/sources.list -export NODE_DIST="ubuntu apt-sources" +For instance, before running devtest.sh: + export `DIB_APT_SOURCES`=/etc/apt/sources.list + export `NODE_DIST`="ubuntu apt-sources"