This commit is contained in:
Eliezer Croitoru 2026-09-20 00:37:43 +03:00
parent 4384d912d8
commit ecacd569ea
4 changed files with 9 additions and 4 deletions

View File

@ -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

1
vars/aio/eth0 Normal file
View File

@ -0,0 +1 @@
enp1s0

View File

@ -0,0 +1 @@
10.200.220.201

1
vars/aio/eth2 Normal file
View File

@ -0,0 +1 @@
enp3s0