Skip to content

Instantly share code, notes, and snippets.

@xtoddx
Forked from anotherjesse/openstack.sh
Created October 20, 2011 03:38
Show Gist options
  • Save xtoddx/1300358 to your computer and use it in GitHub Desktop.
Save xtoddx/1300358 to your computer and use it in GitHub Desktop.
Run devstack on natty or oneiric
#!/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
#!/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