Else some newer system do not see the interface as up and refuse to manage it..
Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com> --- src/PVE/LXC.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index 0742a53..f811550 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -725,6 +725,7 @@ sub update_lxc_config { my $ind = $1; my $d = PVE::LXC::Config->parse_lxc_network($conf->{$k}); $raw .= "lxc.net.$ind.type = veth\n"; + $raw .= "lxc.net.$ind.flags = up\n"; $raw .= "lxc.net.$ind.veth.pair = veth${vmid}i${ind}\n"; $raw .= "lxc.net.$ind.hwaddr = $d->{hwaddr}\n" if defined($d->{hwaddr}); $raw .= "lxc.net.$ind.name = $d->{name}\n" if defined($d->{name}); -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel