From 0c38df0c2d7b534b333b9437acf4484de0cd9d6f Mon Sep 17 00:00:00 2001 From: tremor021 Date: Wed, 24 Dec 2025 13:16:38 +0100 Subject: [PATCH 1/3] Fix gento template discovery --- misc/build.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/build.func b/misc/build.func index 7ce994d1e..657382e94 100644 --- a/misc/build.func +++ b/misc/build.func @@ -3728,7 +3728,7 @@ create_lxc_container() { case "$PCT_OSTYPE" in debian | ubuntu | devuan) TEMPLATE_PATTERN="-standard_" ;; alpine | fedora | rocky | rockylinux | centos | almalinux | openeuler) TEMPLATE_PATTERN="-default_" ;; - gentoo) TEMPLATE_PATTERN="-current_" ;; + gentoo) TEMPLATE_PATTERN="-current-openrc" ;; opensuse) TEMPLATE_PATTERN="-default_" ;; *) TEMPLATE_PATTERN="" ;; esac From c8d12a85f15f491b28433ca735252d45df5e1274 Mon Sep 17 00:00:00 2001 From: tremor021 Date: Wed, 24 Dec 2025 13:18:49 +0100 Subject: [PATCH 2/3] Fix gento template discovery --- misc/build.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/build.func b/misc/build.func index 657382e94..db3432a8b 100644 --- a/misc/build.func +++ b/misc/build.func @@ -3728,7 +3728,7 @@ create_lxc_container() { case "$PCT_OSTYPE" in debian | ubuntu | devuan) TEMPLATE_PATTERN="-standard_" ;; alpine | fedora | rocky | rockylinux | centos | almalinux | openeuler) TEMPLATE_PATTERN="-default_" ;; - gentoo) TEMPLATE_PATTERN="-current-openrc" ;; + gentoo) TEMPLATE_PATTERN="-current-openrc_" ;; opensuse) TEMPLATE_PATTERN="-default_" ;; *) TEMPLATE_PATTERN="" ;; esac From 28483b6ec80ef981cb461d8b41465819ff8324aa Mon Sep 17 00:00:00 2001 From: tremor021 Date: Wed, 24 Dec 2025 13:23:32 +0100 Subject: [PATCH 3/3] Fix gentoo version --- ct/gentoo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/gentoo.sh b/ct/gentoo.sh index fcb006b19..41f606156 100644 --- a/ct/gentoo.sh +++ b/ct/gentoo.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-8}" var_os="${var_os:-gentoo}" -var_version="${var_version:-current}" +var_version="${var_version:-current-openrc}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP"