Skip to content

Instantly share code, notes, and snippets.

@boxrick
Last active July 10, 2018 15:03
Show Gist options
  • Save boxrick/f8128d9819fd781793b3a84369f5fe11 to your computer and use it in GitHub Desktop.
Save boxrick/f8128d9819fd781793b3a84369f5fe11 to your computer and use it in GitHub Desktop.
Openstack AIO quickstart
#!/bin/bash
# Quick and dirty AIO Openstack bash script
start=`date +%s`
git clone https://git.openstack.org/openstack/openstack-ansible /opt/openstack-ansible
cd /opt/openstack-ansible
git checkout stable/queens
scripts/bootstrap-ansible.sh
scripts/bootstrap-aio.sh
cd /opt/openstack-ansible
export SCENARIO='aio_lxc'
openstack-ansible setup-hosts.yml
openstack-ansible setup-infrastructure.yml
openstack-ansible setup-openstack.yml
end=`date +%s`
runtime=$((end-start))
echo "Total time: ${runtime}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment