mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
lxc conf2xml: convert IP addresses
This commit is contained in:
@@ -6,6 +6,8 @@ lxc.network.flags = up
|
||||
lxc.network.link = virbr0
|
||||
lxc.network.hwaddr = 02:00:15:8f:05:c1
|
||||
lxc.network.name = eth0
|
||||
lxc.network.ipv4 = 192.168.122.2/24
|
||||
lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596/64
|
||||
|
||||
#remove next line if host DNS configuration should not be available to container
|
||||
lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0
|
||||
|
||||
@@ -37,6 +37,8 @@
|
||||
<interface type='bridge'>
|
||||
<mac address='02:00:15:8f:05:c1'/>
|
||||
<source bridge='virbr0'/>
|
||||
<ip address='192.168.122.2' family='ipv4' prefix='24'/>
|
||||
<ip address='2003:db8:1:0:214:1234:fe0b:3596' family='ipv6' prefix='64'/>
|
||||
<guest dev='eth0'/>
|
||||
<link state='up'/>
|
||||
</interface>
|
||||
|
||||
Reference in New Issue
Block a user