Our containers all only have a number as name. If any other
character appears in a container name, skip our hooks in
order to allow lxc to be used manually without interference
from PVE.
use strict;
use warnings;
+
+exit 0 if $ENV{'LXC_NAME'} !~ /^\d+$/;
+
use POSIX;
use File::Path;
use strict;
use warnings;
+
+exit 0 if $ENV{'LXC_NAME'} !~ /^\d+$/;
+
use POSIX;
use File::Path;
use strict;
use warnings;
+
+exit 0 if $ENV{'LXC_NAME'} !~ /^\d+$/;
+
use POSIX;
use File::Path;
use strict;
use warnings;
+exit 0 if $ENV{LXC_NAME} !~ /^\d+$/;
+
use PVE::LXC;
use PVE::Tools qw(run_command);
use PVE::Network;