Skip to content

Instantly share code, notes, and snippets.

@signed8bit
Created April 23, 2014 17:40
Show Gist options
  • Save signed8bit/11225557 to your computer and use it in GitHub Desktop.
Save signed8bit/11225557 to your computer and use it in GitHub Desktop.
Vagrant file for devstack using VMware
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider 'vmware_fusion' do |v|
v.vmx['memsize'] = '2048'
v.vmx['numvcpus'] = '2'
v.vmx['virtualHW.version'] = '10'
v.vmx['vhv.enable'] = 'TRUE'
end
config.vm.box = 'hashicorp/precise64'
config.vm.provision :shell, :path => 'bootstrap.sh'
# This was needed to fix a problem running stack.sh
config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment