forked from pool/libvirt
43a3b335a6
- lxc AppArmor profile now only restricting potentially dangerous accesses. fdo#886460 - added patches: * 9265f8ab-apparmor-lxc-rework.patch * 9b1e4cd5-skip-useless-apparmor-files.patch - virt-lxc-convert: force free to output values in bytes - added patches: * dba3432b-virt-lxc-convert-fix.patch - lxc: allow setting a custom name for container NICs as LXC is is able to do it. lxc-net-target-name.patch, lxc-net-target-name-conversion.patch, lxc-net-target-name-doc.patch OBS-URL: https://build.opensuse.org/request/show/241206 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=390
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From c0b1a318442740b6c63630b61d0718598a9937d2 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdonnat@suse.com>
|
|
Date: Wed, 2 Jul 2014 15:24:56 +0200
|
|
Subject: [PATCH 2/2] lxc network device names change documentation
|
|
|
|
---
|
|
docs/formatdomain.html.in | 17 +++++++++++++++++
|
|
1 file changed, 17 insertions(+)
|
|
|
|
Index: libvirt-1.2.5/docs/formatdomain.html.in
|
|
===================================================================
|
|
--- libvirt-1.2.5.orig/docs/formatdomain.html.in
|
|
+++ libvirt-1.2.5/docs/formatdomain.html.in
|
|
@@ -3757,6 +3757,23 @@ qemu-kvm -net nic,model=? /dev/null
|
|
targets using these prefixes will be ignored.
|
|
</p>
|
|
|
|
+ <p>
|
|
+ Note that for LXC containers, this defines the name of the interface
|
|
+ on the host side. <span class="since">Since 1.2.7</span>, to define
|
|
+ the name of the device on the guest side, the <code>guest</code>
|
|
+ element should be used, as in the following snippet:
|
|
+ </p>
|
|
+
|
|
+<pre>
|
|
+ ...
|
|
+ <devices>
|
|
+ <interface type='network'>
|
|
+ <source network='default'/>
|
|
+ <b><guest dev='myeth'/></b>
|
|
+ </interface>
|
|
+ </devices>
|
|
+ ...</pre>
|
|
+
|
|
<h5><a name="elementsNICSBoot">Specifying boot order</a></h5>
|
|
|
|
<pre>
|