Created
October 4, 2018 22:35
-
-
Save johnduarte/321578cee82aabe41c0131e86d66f10c to your computer and use it in GitHub Desktop.
MNAIO deploy with images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# per https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/deploymenthost.html#configure-ubuntu | |
apt-get update | |
apt-get dist-upgrade | |
# reboot | |
apt-get install aptitude build-essential git ntp ntpdate openssh-server python-dev sudo | |
# deploy | |
git clone -b master https://git.openstack.org/openstack/openstack-ansible /opt/openstack-ansible | |
cd /opt/openstack-ansible/ | |
scripts/bootstrap-ansible.sh | |
git clone -b master https://github.com/rcbops/rpc-openstack /opt/rpc-openstack | |
cd /opt/rpc-openstack | |
./gating/check/pre | |
cd gating/check/ | |
source /opt/rpc-openstack/scripts/functions.sh | |
source ../mnaio_vars.sh | |
git clone --recursive https://github.com/openstack/openstack-ansible-ops /opt/openstack-ansible-ops | |
pushd /opt/openstack-ansible-ops/multi-node-aio | |
source bootstrap.sh | |
source ansible-env.rc | |
run_mnaio_playbook playbooks/setup-host.yml | |
run_mnaio_playbook playbooks/deploy-acng.yml | |
run_mnaio_playbook playbooks/deploy-pxe.yml | |
run_mnaio_playbook playbooks/deploy-dhcp.yml | |
export RPCO_IMAGE_MANIFEST_URL="https://dc61f63876c1acf31f7b-b28e2b85e22a27f072118ea786afca3a.ssl.cf1.rackcdn.com/master-xenial_mnaio_no_artifacts-swift/manifest.json" | |
run_mnaio_playbook playbooks/download-vms.yml -e manifest_url=${RPCO_IMAGE_MANIFEST_URL} | |
run_mnaio_playbook playbooks/deploy-vms.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment