refactor: switch back to bridge network for dev VM

This commit is contained in:
Khue Doan 2022-01-02 15:38:04 +07:00
parent fa4edf5d39
commit 10e7cb6736
2 changed files with 5 additions and 5 deletions

2
metal/Vagrantfile vendored
View File

@ -10,7 +10,7 @@ Vagrant.configure("2") do |config|
properties['hosts'].each do |host, host_vars|
config.vm.define host do |node|
ip = host_vars['ansible_host']
node.vm.network "private_network", ip: ip
node.vm.network "public_network", ip: ip
node.vm.hostname = host
node.vm.disk :disk, size: "256GB", primary: true
end

View File

@ -3,9 +3,9 @@ metal:
children:
masters:
hosts:
dev0: {ansible_host: 192.168.56.10}
# dev1: {ansible_host: 192.168.56.11}
# dev2: {ansible_host: 192.168.56.12}
dev0: {ansible_host: 192.168.1.10}
# dev1: {ansible_host: 192.168.1.11}
# dev2: {ansible_host: 192.168.1.12}
workers:
hosts: {}
# dev3: {ansible_host: 192.168.56.13}
# dev3: {ansible_host: 192.168.1.13}