diff --git a/install-all-in-one.sh b/install-all-in-one.sh index 22296eb..416dc8b 100755 --- a/install-all-in-one.sh +++ b/install-all-in-one.sh @@ -4,14 +4,14 @@ set -xe # Added -e to stop execution if a command fails # Defaults -FIRST_INTERFACE="${1:-enp1s0}" +FIRST_INTERFACE="$(head -1 vars/aio/eth0)" # enentually will be physnet1 in open stack networks -EXTERNAL_INTERFACE="${2:-enp3s0}" +EXTERNAL_INTERFACE="$(head -1 vars/aio/eth2)" # this should not be pingable in the installtion -INTERNAL_IP="${3:-192.168.210}" +INTERNAL_IP="$(head -1 vars/aio/eth0-floating-ip)" echo "--- Running Pre-flight Checks ---" @@ -151,6 +151,8 @@ echo "Deployment Complete. Credentials located in /etc/kolla/admin-openrc.sh" deactivate pip install -U pip -pip install python-openstackclient +#pip install python-openstackclient + +pip install --ignore-installed python-openstackclient set +xe diff --git a/vars/aio/eth0 b/vars/aio/eth0 new file mode 100644 index 0000000..00a8d53 --- /dev/null +++ b/vars/aio/eth0 @@ -0,0 +1 @@ +enp1s0 diff --git a/vars/aio/eth0-floating-ip b/vars/aio/eth0-floating-ip new file mode 100644 index 0000000..fdb8827 --- /dev/null +++ b/vars/aio/eth0-floating-ip @@ -0,0 +1 @@ +10.200.220.201 diff --git a/vars/aio/eth2 b/vars/aio/eth2 new file mode 100644 index 0000000..647e598 --- /dev/null +++ b/vars/aio/eth2 @@ -0,0 +1 @@ +enp3s0