Save CLOUD_ADMIN_PASSWORD's in the toci_env file

Change-Id: I80843b8ed5bb9fce659c31f5ee0e689e549af8e7
This commit is contained in:
Derek Higgins 2013-09-30 11:20:38 +01:00
parent fa9a24e323
commit d09f348d28
1 changed files with 2 additions and 2 deletions

View File

@ -58,8 +58,8 @@ get_state_from_host(){
# On Exit write relevant toci env to a rc file
get_tocienv(){
declare | grep -e "^PATH=" -e "^http.*proxy" -e "^TOCI_" -e '^DIB_' | sed -e 's/^/export /g' > $TOCI_WORKING_DIR/toci_env
# Some IP we sont want to proxy
declare | grep -e "^PATH=" -e "^http.*proxy" -e "^TOCI_" -e '^DIB_' -e 'CLOUD_ADMIN_PASSWORD' | sed -e 's/^/export /g' > $TOCI_WORKING_DIR/toci_env
# Some IP we don't want to proxy
echo 'export no_proxy=$($TOCI_WORKING_DIR/tripleo-incubator/scripts/get-vm-ip seed),192.0.2.2,192.0.2.5,192.0.2.6,192.0.2.7,192.0.2.8' >> $TOCI_WORKING_DIR/toci_env
}