mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
a09bbc024d
The problem with VLAN is that the user still has to manually create the vlan interface on the host. Then the generated configuration will use it as a nerwork hostdev device. So the generated configurations of the following two fragments are equivalent (see rhbz#1059637). lxc.network.type = phys lxc.network.link = eth0.5 lxc.network.type = vlan lxc.network.link = eth0 lxc.network.vlan.id = 5
13 lines
351 B
Plaintext
13 lines
351 B
Plaintext
# Template used to create this container: opensuse
|
|
# Template script checksum (SHA-1): 27307e0a95bd81b2c0bd82d6f87fdbe83be075ef
|
|
|
|
lxc.network.type = vlan
|
|
lxc.network.flags = up
|
|
lxc.network.link = eth0
|
|
lxc.network.hwaddr = 02:00:15:8f:05:c1
|
|
lxc.network.vlan.id = 2
|
|
|
|
lxc.rootfs = /var/lib/lxc/migrate_test/rootfs
|
|
lxc.utsname = migrate_test
|
|
lxc.autodev=1
|