[pve-devel] debian 9.1 LXC unsupported
Tom Weber
pve at junkyard.4t2.com
Mon Jul 24 12:07:43 CEST 2017
With debian bumping it's stretch Version Number to 9.1, the check in
/usr/share/perl5/PVE/LXC/Setup/Debian.pm
fails.
# lxc-start -F -n 14433
unsupported debian version '9.1'
...
I fixed it for me like this:
--- /usr/share/perl5/PVE/LXC/Setup/Debian.pm.orig 2017-07-24 11:25:37.601390691 +0200
+++ /usr/share/perl5/PVE/LXC/Setup/Debian.pm 2017-07-24 11:25:59.305206733 +0200
@@ -28,7 +28,7 @@
$version = $1;
die "unsupported debian version '$version'\n"
- if !($version >= 4 && $version <= 9);
+ if !($version >= 4 && $version < 10);
my $self = { conf => $conf, rootdir => $rootdir, version => $version };
Tom
More information about the pve-devel
mailing list