fix vagrant configuration

This commit is contained in:
Glenn Y. Rolland 2023-04-05 00:39:26 +02:00
parent c8c14621cd
commit 0e7ab69aad
2 changed files with 4 additions and 1 deletions

View file

@ -7,7 +7,7 @@ Vagrant.configure('2') do |config|
config.vm.provider 'libvirt' do |domain|
domain.memory = 18_000
domain.nested = true
domain.cpus = 2
# domain.cpus = 2
end
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'
end
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
config.vm.provision 'shell', name: 'provision/base', path: 'provision/base.sh', privileged: true

View file

@ -27,6 +27,7 @@ iface br25 inet static
bridge_maxwait 0
bridge_fd 0
MARK
sudo ifup br25
##
## Get openstack