fix vagrant configuration
This commit is contained in:
parent
c8c14621cd
commit
0e7ab69aad
2 changed files with 4 additions and 1 deletions
4
vagrant--devstack/Vagrantfile
vendored
4
vagrant--devstack/Vagrantfile
vendored
|
@ -7,7 +7,7 @@ Vagrant.configure('2') do |config|
|
||||||
config.vm.provider 'libvirt' do |domain|
|
config.vm.provider 'libvirt' do |domain|
|
||||||
domain.memory = 18_000
|
domain.memory = 18_000
|
||||||
domain.nested = true
|
domain.nested = true
|
||||||
domain.cpus = 2
|
# domain.cpus = 2
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provider 'virtualbox' do |vb|
|
config.vm.provider 'virtualbox' do |vb|
|
||||||
|
@ -28,6 +28,8 @@ Vagrant.configure('2') do |config|
|
||||||
machine.vm.network 'forwarded_port', guest: port, host: port, host_ip: '127.0.0.1'
|
machine.vm.network 'forwarded_port', guest: port, host: port, host_ip: '127.0.0.1'
|
||||||
end
|
end
|
||||||
machine.vm.network 'forwarded_port', guest: 80, host: 1080, host_ip: '127.0.0.1'
|
machine.vm.network 'forwarded_port', guest: 80, host: 1080, host_ip: '127.0.0.1'
|
||||||
|
# machine.vm.network "public_network", bridge: 'dummy0', auto_config: false
|
||||||
|
machine.vm.network "public_network", dev: "br25", type: "bridge", auto_config: false
|
||||||
end
|
end
|
||||||
|
|
||||||
config.vm.provision 'shell', name: 'provision/base', path: 'provision/base.sh', privileged: true
|
config.vm.provision 'shell', name: 'provision/base', path: 'provision/base.sh', privileged: true
|
||||||
|
|
|
@ -27,6 +27,7 @@ iface br25 inet static
|
||||||
bridge_maxwait 0
|
bridge_maxwait 0
|
||||||
bridge_fd 0
|
bridge_fd 0
|
||||||
MARK
|
MARK
|
||||||
|
sudo ifup br25
|
||||||
|
|
||||||
##
|
##
|
||||||
## Get openstack
|
## Get openstack
|
||||||
|
|
Loading…
Reference in a new issue