Make Network Assignment more reliable
This commit is contained in:
parent
53a2c27984
commit
b62066d675
@ -1,29 +0,0 @@
|
||||
[promox-kvm]
|
||||
192.168.122.10
|
||||
192.168.122.11
|
||||
|
||||
[promox-kvm:vars]
|
||||
vm_gw=192.168.122.1
|
||||
vm_dns=1.1.1.1
|
||||
|
||||
[192.168.122.10]
|
||||
hostname=proxy
|
||||
vm_id=300
|
||||
os=archlinux
|
||||
filesystem=btrfs
|
||||
vm_memory=2048
|
||||
vm_ballo=1024
|
||||
vm_cpus=2
|
||||
vm_size=5
|
||||
vm_nif=vmbr1
|
||||
|
||||
[192.168.122.11]
|
||||
hostname=database
|
||||
vm_id=101
|
||||
os=archlinux
|
||||
filesystem=btrfs
|
||||
vm_memory=6144
|
||||
vm_ballo=3072
|
||||
vm_cpus=4
|
||||
vm_size=40
|
||||
vm_nif=vmbr1
|
@ -2,7 +2,9 @@
|
||||
id=LAN
|
||||
uuid={{ net_uuid.stdout }}
|
||||
type=ethernet
|
||||
interface-name={{ net_inf.stdout }}
|
||||
|
||||
[ethernet]
|
||||
mac-address={{ net_mac.stdout }}
|
||||
|
||||
[ipv4]
|
||||
address={{ vm_ip }}/{{ vm_nms | default (24) }},{{ vm_gw }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user