[pve-devel] [PATCH pve-container] skip lxc hooks on non-PVE containers
Dietmar Maurer
dietmar at proxmox.com
Mon Aug 31 16:27:30 CEST 2015
but we still want to add the veth device to the bridge?
> diff --git a/src/lxcnetaddbr b/src/lxcnetaddbr
> index bb8d726..aca6191 100755
> --- a/src/lxcnetaddbr
> +++ b/src/lxcnetaddbr
> @@ -3,6 +3,8 @@
> use strict;
> use warnings;
>
> +exit 0 if $ENV{LXC_NAME} !~ /^\d+$/;
> +
> use PVE::LXC;
> use PVE::Tools qw(run_command);
> use PVE::Network;
> --
> 2.1.4
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
More information about the pve-devel
mailing list