[pve-devel] debian 9.1 LXC unsupported
Alexandre DERUMIER
aderumier at odiso.com
Mon Jul 24 12:15:44 CEST 2017
already fixed by Wolfgang 3hours ago ;)
https://git.proxmox.com/?p=pve-container.git;a=blobdiff;f=src/PVE/LXC/Setup/Debian.pm;h=5ffea9e028ff4611ec7f04d777e43274caa402ca;hp=74393de101b62c254abd02296502f4c64ea2cb8e;hb=8398bd0ce36435dcbdb6091a5d186a919f5acedc;hpb=222941d3d2e52a09426c30471ee07d11520fc78c
----- Mail original -----
De: "Tom Weber" <pve at junkyard.4t2.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 24 Juillet 2017 12:07:43
Objet: [pve-devel] debian 9.1 LXC unsupported
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
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list