]> git.proxmox.com Git - pve-container.git/commitdiff
use json schema format for network config
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 23 Sep 2015 07:51:19 +0000 (09:51 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 23 Sep 2015 07:51:19 +0000 (09:51 +0200)
To correctly generate docs for -net[n].

src/PVE/LXC.pm

index 686e55e10c067c9a61271628183f430666bc1f54..edc9b12ad9f34fdd174cc25822bcb30803eebb68 100644 (file)
@@ -328,7 +328,7 @@ my $MAX_LXC_NETWORKS = 10;
 for (my $i = 0; $i < $MAX_LXC_NETWORKS; $i++) {
     $confdesc->{"net$i"} = {
        optional => 1,
-       type => 'string', format => 'pve-lxc-network',
+       type => 'string', format => $netconf_desc,
        description => "Specifies network interfaces for the container.",
     };
 }