mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 13:08:52 +07:00
refactor: switch back to bridge network for dev VM
This commit is contained in:
parent
fa4edf5d39
commit
10e7cb6736
2
metal/Vagrantfile
vendored
2
metal/Vagrantfile
vendored
@ -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
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user