Created
June 20, 2019 03:36
-
-
Save anoochit/35115dcff92216202c4bed4732a70b96 to your computer and use it in GitHub Desktop.
devstack-cheat-sheet
This file contains 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
sudo useradd -s /bin/bash -d /opt/stack -m stack | |
echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack | |
sudo su - stack | |
git clone https://git.openstack.org/openstack-dev/devstack | |
cd devstack | |
create local.conf | |
[[local|localrc]] | |
ADMIN_PASSWORD=secret | |
DATABASE_PASSWORD=$ADMIN_PASSWORD | |
RABBIT_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
check ip | |
dig +short myip.opendns.com @resolver1.opendns.com | |
source openrc | |
wget https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img | |
openstack image create --container-format bare --disk-format qcow2 --file xenial-server-cloudimg-amd64-disk1.img Ubuntu-16.04-x86_64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment