Last active
December 18, 2015 09:09
-
-
Save achanda/5758936 to your computer and use it in GitHub Desktop.
Devstack and Quantum single node
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
# 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