Fix gento template discovery
This commit is contained in:
parent
0c38df0c2d
commit
c8d12a85f1
@ -3728,7 +3728,7 @@ create_lxc_container() {
|
|||||||
case "$PCT_OSTYPE" in
|
case "$PCT_OSTYPE" in
|
||||||
debian | ubuntu | devuan) TEMPLATE_PATTERN="-standard_" ;;
|
debian | ubuntu | devuan) TEMPLATE_PATTERN="-standard_" ;;
|
||||||
alpine | fedora | rocky | rockylinux | centos | almalinux | openeuler) TEMPLATE_PATTERN="-default_" ;;
|
alpine | fedora | rocky | rockylinux | centos | almalinux | openeuler) TEMPLATE_PATTERN="-default_" ;;
|
||||||
gentoo) TEMPLATE_PATTERN="-current-openrc" ;;
|
gentoo) TEMPLATE_PATTERN="-current-openrc_" ;;
|
||||||
opensuse) TEMPLATE_PATTERN="-default_" ;;
|
opensuse) TEMPLATE_PATTERN="-default_" ;;
|
||||||
*) TEMPLATE_PATTERN="" ;;
|
*) TEMPLATE_PATTERN="" ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user