change bridge network to nat for VMs

This commit is contained in:
Dmitriy Kholkin 2025-03-08 14:53:09 +03:00
parent 26853a4200
commit 9e4ac614da
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2
2 changed files with 12 additions and 12 deletions

View File

@ -165,12 +165,12 @@
<target dir='viofs'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</filesystem>
<interface type='bridge'>
<mac address='52:54:00:a2:3d:a4'/>
<source bridge='br0'/>
<model type='virtio'/>
<link state='up'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
<interface type="network">
<mac address="52:54:00:a2:3d:a4"/>
<source network="default"/>
<model type="virtio"/>
<link state="up"/>
<address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>

View File

@ -174,12 +174,12 @@
<target dir='games'/>
<address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
</filesystem>
<interface type='bridge'>
<mac address='52:54:00:a2:3d:e8'/>
<source bridge='br0'/>
<model type='virtio'/>
<link state='up'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
<interface type="network">
<mac address="52:54:00:a2:3d:e8"/>
<source network="default"/>
<model type="virtio"/>
<link state="up"/>
<address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>