On 3/17/20 7:35 AM, Thomas Lamprecht wrote:
Else some newer system do not see the interface as up and refuse to manage it..
Where do you run into that actually? I can get my arch container to behave normally with just adding `lxc.mount.auto = sys:mixed` to /etc/pve/lxc/$vmid.conf atm. without this patch.
Or did you use the [testing] pacman repo or something?
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});
_______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel