summaryrefslogtreecommitdiff
path: root/tests/lxcxml2xmldata
diff options
context:
space:
mode:
authorCédric Bosdonnat <cbosdonnat@suse.com>2014-06-27 10:41:22 +0200
committerCédric Bosdonnat <cbosdonnat@suse.com>2014-07-18 14:25:57 +0200
commit3ba0469ce660c5f1fe523051c1ef54e81c0dc272 (patch)
tree3ae919ddf7526e2cd6edf3e375a31235df036694 /tests/lxcxml2xmldata
parentd659b412a8c409522dc2aa0bc4c836d3298af2a4 (diff)
downloadlibvirt-3ba0469ce660c5f1fe523051c1ef54e81c0dc272.tar.gz
lxc network configuration allows setting target container NIC name
LXC network devices can now be assigned a custom NIC device name on the container side. For example, this is configured with: <interface type='network'> <source network='default'/> <guest dev="eth1"/> </interface> In this example the network card will appear as eth1 in the guest.
Diffstat (limited to 'tests/lxcxml2xmldata')
-rw-r--r--tests/lxcxml2xmldata/lxc-idmap.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lxcxml2xmldata/lxc-idmap.xml b/tests/lxcxml2xmldata/lxc-idmap.xml
index 3cced2107d..946d36357e 100644
--- a/tests/lxcxml2xmldata/lxc-idmap.xml
+++ b/tests/lxcxml2xmldata/lxc-idmap.xml
@@ -29,6 +29,7 @@
<mac address='00:16:3e:0f:ef:8a'/>
<source bridge='bri0'/>
<target dev='veth0'/>
+ <guest dev='eth2'/>
</interface>
<console type='pty'>
<target type='lxc' port='0'/>