Created
March 19, 2015 19:15
-
-
Save ygbourhis/68f222a6fa34e4f28e72 to your computer and use it in GitHub Desktop.
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
# -*- 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| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "devstack_neutron" | |
config.vm.hostname = "neutron" | |
# The url from where the 'config.vm.box' box will be fetched if it | |
# doesn't already exist on the user's system. | |
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" | |
# set auto_update to false, if do NOT want to check the correct additions | |
# version when booting this machine | |
#config.vbguest.auto_update = true | |
# do NOT download the iso file from a webserver | |
#config.vbguest.no_remote = true | |
config.vm.provider "virtualbox" do |v| | |
v.customize ["modifyvm", :id, "--memory", "4096"] | |
v.customize ["modifyvm", :id, "--cpus", "2"] | |
v.customize ["modifyvm", :id, "--ioapic", "on"] | |
v.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"] | |
v.customize ["modifyvm", :id, "--nicpromisc3", "allow-all"] | |
end | |
config.vm.provision :shell, :path => "bootstrap.sh" | |
config.vm.network :private_network, ip: "192.168.56.5" | |
config.vm.network :private_network, ip: "192.168.57.235" | |
#config.vm.synced_folder "/home/yves/openstack/neutron", "/opt/stack/neutron" | |
#config.vm.synced_folder "/home/yves/openstack/magnetodb", "/opt/stack/magnetodb" | |
#config.vm.provision :shell, :path => "vagrant_guest_additions.sh" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment