Export SHORT_HOSTNAME
Exporting SHORT_HOSTNAME from airship-in-a-bottle.sh for deploy-airship.sh Change-Id: I63c449163a4df981765b3f7c580078944a597829
This commit is contained in:
parent
ee7fc61fb3
commit
2f89142afd
|
@ -63,9 +63,10 @@ if [[ ! "$YN_IP" =~ ^([yY]|"")$ ]]; then
|
|||
read -p "What is your LOCAL IP? " LOCAL_IP
|
||||
fi
|
||||
|
||||
# Shells out to get the hostname to avoid some config conflicts
|
||||
# Shells out to get the hostname for the single-node deployment to avoid some
|
||||
# config conflicts
|
||||
set -x
|
||||
SHORT_HOSTNAME=$(hostname -s)
|
||||
export SHORT_HOSTNAME=$(hostname -s)
|
||||
set +x
|
||||
|
||||
# Updates the /etc/hosts file
|
||||
|
|
Loading…
Reference in New Issue