[pve-devel] [PATCH container] setup: add kali-rolling in supported releases

Oguz Bektas o.bektas at proxmox.com
Tue Sep 1 12:44:05 CEST 2020


for our setup purposes, it's the same as bullseye since it's following a
rolling release model.

Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
 src/PVE/LXC/Setup/Debian.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/LXC/Setup/Debian.pm b/src/PVE/LXC/Setup/Debian.pm
index 13a2d55..0cb01c4 100644
--- a/src/PVE/LXC/Setup/Debian.pm
+++ b/src/PVE/LXC/Setup/Debian.pm
@@ -23,6 +23,7 @@ sub new {
     $version = 9.1 if $version eq 'stretch/sid';
     $version = 10 if $version eq 'buster/sid';
     $version = 11 if $version eq 'bullseye/sid';
+    $version = 11 if $version eq 'kali-rolling';
 
     die "unable to parse version info '$version'\n"
 	if $version !~ m/^(\d+(\.\d+)?)(\.\d+)?/;
-- 
2.20.1





More information about the pve-devel mailing list