[pve-devel] [PATCH container] add support for debian bullseye/sid
Mira Limbeck
m.limbeck at proxmox.com
Thu Jul 18 15:56:12 CEST 2019
Add support for the newest DebianTesting aka bullseye.
Signed-off-by: Mira Limbeck <m.limbeck at proxmox.com>
---
src/PVE/LXC/Setup/Debian.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/LXC/Setup/Debian.pm b/src/PVE/LXC/Setup/Debian.pm
index 5039889..1d14606 100644
--- a/src/PVE/LXC/Setup/Debian.pm
+++ b/src/PVE/LXC/Setup/Debian.pm
@@ -22,6 +22,7 @@ sub new {
# translate testing version names
$version = 9.1 if $version eq 'stretch/sid';
$version = 10 if $version eq 'buster/sid';
+ $version = 11 if $version eq 'bullseye/sid';
die "unable to parse version info '$version'\n"
if $version !~ m/^(\d+(\.\d+)?)(\.\d+)?/;
@@ -29,7 +30,7 @@ sub new {
$version = $1;
die "unsupported debian version '$version'\n"
- if !($version >= 4 && $version <= 10);
+ if !($version >= 4 && $version <= 11);
my $self = { conf => $conf, rootdir => $rootdir, version => $version };
--
2.20.1
More information about the pve-devel
mailing list