-
Download and install VirtualBox
-
Download and install Vagrant
-
Clone
devstack
repositorygit clone git://github.com/openstack-dev/devstack.git
-
Switch to
devstack
directorycd devstack
-
Create
Vagrantfile
cat << EOF > Vagrantfile Vagrant::Config.run do |config| config.vm.box = 'ubuntu-11.10-64' config.vm.box_url = 'http://timhuegdon.com/vagrant-boxes/ubuntu-11.10.box' config.vm.customize ["modifyvm", :id, "--memory", 2048] config.vm.forward_port 80, 8000 end EOF
-
up
Vagrant instancevagrant up
-
ssh
to Vagrant instancevagrant ssh
-
Switch to
devstack
directorycd /vagrant
-
Run
stack.sh
scriptyes '' | ./stack.sh
-
Source
stackrc
filesource stackrc
-
Get admin password
echo $ADMIN_PASSWORD
-
Open web interface via localhost:8000 and login with the username
admin
and password from above -
Click Project in the left tab
-
Select demo from the dropdown
-
Click Access & Security
-
Click Allocate IP To Project
-
Select nova and click Allocate IP
-
Click Create Keypair
-
Enter your name and click Create Keypair
-
Click Instances & Volumes
-
Click Launch Instance
-
Click Launch for image
cirros-0.3.0-x86_64-blank
-
Enter a Server Name
-
Select your name from the Keypair dropdown
-
Click Launch instance
Created
March 21, 2012 03:52
-
-
Save silas/2144122 to your computer and use it in GitHub Desktop.
Vagrant and devstack
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thx for this excellent vagrant + devstack procedure.
Questions :
Regards,
Charles