Skip to content

Instantly share code, notes, and snippets.

@achanda
Last active December 18, 2015 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save achanda/5758936 to your computer and use it in GitHub Desktop.
Save achanda/5758936 to your computer and use it in GitHub Desktop.
Devstack and Quantum single node
# add user stack and add to sudoers
adduser stack
echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
su - stack
#!/bin/sh
apt-get update
apt-get install -qqy git
git clone https://github.com/openstack-dev/devstack.git
cd devstack
echo ADMIN_PASSWORD=password > localrc
echo MYSQL_PASSWORD=password >> localrc
echo RABBIT_PASSWORD=password >> localrc
echo SERVICE_PASSWORD=password >> localrc
echo SERVICE_TOKEN=tokentoken >> localrc
echo "disable_service n-net" >> localrc
echo "enable_service q-svc" >> localrc
echo "enable_service q-agt" >> localrc
echo "enable_service q-dhcp" >> localrc
echo "enable_service q-l3" >> localrc
echo "enable_service q-meta" >> localrc
echo "enable_service quantum" >> localrc
# Optional, to enable tempest configuration as part of devstack
echo "enable_service tempest" >> localrc
./stack.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment