Generalize IP to interact with ephermal heat
Removing hardcoded IP and Generalizing IP to interact with ephermal heat so that we can cover cases where undercloud is deployed on custom IP range. Change-Id: I0f43faba02ef2d5ac60d104dee52b61156ea07dc
This commit is contained in:
parent
bde5414a12
commit
7dd4ab75a6
|
@ -134,7 +134,8 @@ configuration must be set in order to disable authentication::
|
|||
unset OS_PROJECT_DOMAIN_NAME
|
||||
unset OS_USER_DOMAIN_NAME
|
||||
OS_AUTH_TYPE=none
|
||||
OS_ENDPOINT=http://192.168.24.2:8006/v1/admin
|
||||
IP=`cat /etc/hosts | grep "undercloud.localdomain undercloud$" | awk '{print $1}'`
|
||||
OS_ENDPOINT=http://$IP:8006/v1/admin
|
||||
|
||||
Once the environment is configured, ``openstackclient`` work as expected
|
||||
against the Heat API::
|
||||
|
|
Loading…
Reference in New Issue