]> git.proxmox.com Git - pve-container.git/commitdiff
Extent man description for network settings
authorw.link@proxmox.com <w.link@proxmox.com>
Mon, 22 Jun 2015 08:34:44 +0000 (10:34 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 22 Jun 2015 08:59:51 +0000 (10:59 +0200)
There was no source expect the sourcecode, where the user can see the possible options.

Signed-off-by: w.link@proxmox.com <Wolfgang Link>
src/PVE/LXC.pm

index c6cfe4419a7ea63a5350c837201bedff84dfecc8..72ab3c88b343c7a90b3fb3d94aa614dbdeea5d09 100644 (file)
@@ -596,7 +596,12 @@ for (my $i = 0; $i < $MAX_LXC_NETWORKS; $i++) {
     $confdesc->{"net$i"} = {
        optional => 1,
        type => 'string', format => 'pve-lxc-network',
-       description => "Specifies network interfaces for the container.",
+       description => "Specifies network interfaces for the container.\n\n".
+           "The string should have the follow format:\n\n".
+           "-net<[0-9]> bridge=<vmbr<Nummber>>[,hwaddr=<MAC>]\n".
+           "[,mtu=<Number>][,name=<String>][,ip=<IPv4Format/CIDR>]\n".
+           ",ip6=<IPv6Format/CIDR>][,gw=<GatwayIPv4>]\n".
+           ",gw6=<GatwayIPv6>][,firewall=<[1|0]>][,tag=<VlanNo>]",
     };
 }