Fix no_proxy in overcloudrc

instack-create-overcloudrc isn't generating a proper no_proxy
value, which I believe is because it was using an old method for
finding the overcloud control ip.  This switches it to use the
current method from instack-deploy-overcloud.

Change-Id: I180f7adddda8e8e10b6c91b034b8b287c4ebf97c
This commit is contained in:
Ben Nemec 2015-03-27 14:48:36 -05:00
parent b951324300
commit ee4ca7f619

View File

@ -18,7 +18,8 @@ source ~/instack.answers
source tripleo-overcloud-passwords source tripleo-overcloud-passwords
export OVERCLOUD_IP=$(nova list | grep controller0.*ctlplane | sed -e "s/.*=\\([0-9.]*\\).*/\1/") OVERCLOUD_ENDPOINT=$(heat output-show overcloud KeystoneURL|sed 's/^"\(.*\)"$/\1/')
export OVERCLOUD_IP=$(echo $OVERCLOUD_ENDPOINT | awk -F '[/:]' '{print $4}')
source $TRIPLEO_ROOT/overcloudrc source $TRIPLEO_ROOT/overcloudrc