[pve-devel] [PATCH container] add support for debian bullseye/sid

Oguz Bektas o.bektas at proxmox.com
Thu Jul 18 16:17:23 CEST 2019


Tested-by: Oguz Bektas <o.bektas at proxmox.com>

On Thu, Jul 18, 2019 at 03:56:12PM +0200, Mira Limbeck wrote:
> 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
> 
> 
> _______________________________________________
> 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