Merge "make the default base network match variables.sh"

This commit is contained in:
Jenkins 2017-05-23 15:54:52 +00:00 committed by Gerrit Code Review
commit 6731570b60
4 changed files with 6 additions and 3 deletions

View File

@ -22,7 +22,7 @@ source functions.rc
# Provide defaults for unset variables
# Set first two octets of network used for containers, storage, etc
NETWORK_BASE=${NETWORK_BASE:-172.29}
NETWORK_BASE=${NETWORK_BASE:-10.29}
# Instruct the system do all of the require host setup
SETUP_HOST=${SETUP_HOST:-true}

View File

@ -23,7 +23,7 @@ source functions.rc
# Provide defaults for unset variables
# Set first two octets of network used for containers, storage, etc
NETWORK_BASE=${NETWORK_BASE:-172.29}
NETWORK_BASE=${NETWORK_BASE:-10.29}
# Reset the ssh-agent service to remove potential key issues
ssh_agent_reset

View File

@ -8,7 +8,7 @@ source openrc
# Provide defaults for unset variables
# Set first two octets of network used for containers, storage, etc
NETWORK_BASE=${NETWORK_BASE:-172.29}
NETWORK_BASE=${NETWORK_BASE:-10.29}
# Create base flavors for the new deployment
for flavor in micro tiny mini small medium large xlarge heavy; do

View File

@ -20,6 +20,9 @@ source functions.rc
# bring in variable definitions if there is a variables.sh file
[[ -f variables.sh ]] && source variables.sh
# set up ssh key in case setup-infra is not run
SSHKEY=${SSHKEY:-$(cat /root/.ssh/id_rsa.pub)}
# Use Ansible to install and configure a DHCP server, TFTP server and Apache
# so we can PXEboot all the VMs
ansible-playbook -v -i inventory create_pxeboot_server.yml --extra-vars \