From: Laine Stump Date: Thu, 7 Aug 2014 14:50:21 +0000 (-0400) Subject: virsh: clean up attach-interface paragraph in man page X-Git-Tag: v1.2.8-rc1~230 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f91aa931493e2a220107c665fa7c83f05e034bfd;p=thirdparty%2Flibvirt.git virsh: clean up attach-interface paragraph in man page This makes the paragaph about attach-interface more descriptive and correct, adding in a few bits of information that were previously missing, e.g. --script is only allowed for bridge interfaces of Xen domains, target name is regenerated if it starts with vnet, mac address will be autogenerated if not specified. (I did this in response to an email asking why a script couldn't be specified for a bridge interface of a qemu domain, and why an interface of type='ethernet' couldn't be created with attach-interface) --- diff --git a/tools/virsh.pod b/tools/virsh.pod index e377df9156..26b1d79e36 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -2202,19 +2202,29 @@ Likewise, I<--shareable> is an alias for I<--mode shareable>. [I<--target target>] [I<--mac mac>] [I<--script script>] [I<--model model>] [I<--config>] [I<--inbound average,peak,burst>] [I<--outbound average,peak,burst>] -Attach a new network interface to the domain. I can be either I -to indicate a physical network device or I to indicate a bridge to a -device. I indicates the source device. I allows to indicate -the target device in the guest. Names starting with 'vnet' are considered as -auto-generated an hence blanked out. I allows to specify the MAC address -of the network interface. I