-
-
Save xtoddx/1300358 to your computer and use it in GitHub Desktop.
Run devstack on natty or oneiric
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
#!/bin/sh | |
cd /mnt | |
curl -k -O https://raw.github.com/anotherjesse/vcap/auto/setup/install | |
chmod +x install | |
./install | |
ln -s /usr/local/rvm/bin/ruby /usr/local/bin/ | |
cd /cloudfoundry | |
bin/vcap start |
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
#!/bin/sh | |
apt-get update | |
apt-get install git -y | |
git clone https://github.com/cloudbuilders/devstack.git | |
# use ephemeral storage for ~stack | |
mkfs /dev/vdb | |
mount /dev/vdb /mnt | |
cd devstack | |
echo DEST=/mnt/stack >> localrc | |
echo MYSQL_PASSWORD=mysql4eva >> localrc | |
echo ADMIN_PASSWORD=stack4eva >> localrc | |
echo RABBIT_PASSWORD=rabbit4eva >> localrc | |
echo SERVICE_TOKEN=12345678901234567890 >> localrc | |
# enable volumes with n-vol | |
echo ENABLED_SERVICES=g-api,g-reg,key,n-api,n-cpu,n-net,n-sch,n-vnc,horizon,mysql,rabbit,n-vol >> localrc | |
./stack.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment