From 638caadac7fffb7308c9875d0a0f833bc6d145c5 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Fri, 7 Apr 2017 16:36:26 +0200 Subject: [PATCH] Fix build-image.sh example comments Environment variables used to control settings in elements need to be exported so that they are available to the script's subprocesses, so fix the documented examples so they can easily be un-commented and used. Change-Id: Ie003f98162afbe8ed827d6aba78e443323d92655 --- tools/build-image.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/build-image.sh b/tools/build-image.sh index 3d7d871823..c737bfee0d 100755 --- a/tools/build-image.sh +++ b/tools/build-image.sh @@ -54,8 +54,8 @@ fi ## If your firewall won't allow outbound DNS connections, you'll want ## to set these to local resolvers -# NODEPOOL_STATIC_NAMESERVER_V4=192.168.0.1 -# NODEPOOL_STATIC_NAMESERVER_V6=2000::... +# export NODEPOOL_STATIC_NAMESERVER_V4=192.168.0.1 +# export NODEPOOL_STATIC_NAMESERVER_V6=2000::... ## This will get dib to drop you into a shell on error, useful for debugging # export break="after-error" @@ -85,12 +85,12 @@ fi ## password. ## defaults -## DIB_DEV_USER_USERNAME=devuser -## DIB_DEV_USER_AUTHORIZED_KEYS=$HOME/.ssh/id_rsa.pub +## export DIB_DEV_USER_USERNAME=devuser +## export DIB_DEV_USER_AUTHORIZED_KEYS=$HOME/.ssh/id_rsa.pub # EXTRA_ELEMENTS+=devuser -# DIB_DEV_USER_PWDLESS_SUDO=1 -# DIB_DEV_USER_PASSWORD=devuser +# export DIB_DEV_USER_PWDLESS_SUDO=1 +# export DIB_DEV_USER_PASSWORD=devuser ## The list of elements below should match those configured ## in nodepool/nodepool.yaml