-
Download and install VirtualBox
-
Download and install Vagrant
-
Clone
devstackrepositorygit clone git://github.com/openstack-dev/devstack.git -
Switch to
devstackdirectorycd devstack -
Create
Vagrantfilecat << 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 -
upVagrant instancevagrant up -
sshto Vagrant instancevagrant ssh -
Switch to
devstackdirectorycd /vagrant -
Run
stack.shscriptyes '' | ./stack.sh -
Source
stackrcfilesource stackrc -
Get admin password
echo $ADMIN_PASSWORD -
Open web interface via localhost:8000 and login with the username
adminand 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