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

View File

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