Skip to content

Instantly share code, notes, and snippets.

@gopal1996
Created October 30, 2020 21:43
Show Gist options
  • Save gopal1996/d312ca0916ec662ba0e6755ff6c04397 to your computer and use it in GitHub Desktop.
Save gopal1996/d312ca0916ec662ba0e6755ff6c04397 to your computer and use it in GitHub Desktop.

OpenStack (DevStack) Installation

  • Install ubuntu OS
  • Login to ubuntu

Add User

sudo useradd -s /bin/bash -d /opt/stack -m stack

Passwordless Login

echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
sudo su - stack

Download DevStack

sudo apt install -y git
git clone https://opendev.org/openstack/devstack
cd devstack

Create a local.conf

cp samples/local.conf .
nano local.conf
[[local|localrc]]
ADMIN_PASSWORD=openstack
DATABASE_PASSWORD=openstack
RABBIT_PASSWORD=openstack
SERVICE_PASSWORD=$ADMIN_PASSWORD
HOST_IP=x.x.x.x

Install DevStack

./stack.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment