mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-10 17:34:41 +00:00
Update create_lxc.sh
This commit is contained in:
parent
74b2407c53
commit
a2fcd3992e
1 changed files with 11 additions and 11 deletions
|
@ -210,7 +210,7 @@ if ! check_storage_support "vztmpl"; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
msg_info "Checking template storage"
|
||||
#msg_info "Checking template storage"
|
||||
while true; do
|
||||
if select_storage template; then
|
||||
TEMPLATE_STORAGE="$STORAGE_RESULT"
|
||||
|
@ -251,13 +251,13 @@ fi
|
|||
# Update LXC template list
|
||||
TEMPLATE_SEARCH="${PCT_OSTYPE}-${PCT_OSVERSION:-}"
|
||||
case "$PCT_OSTYPE" in
|
||||
debian|ubuntu)
|
||||
debian | ubuntu)
|
||||
TEMPLATE_PATTERN="-standard_"
|
||||
;;
|
||||
alpine|fedora|rocky|centos)
|
||||
alpine | fedora | rocky | centos)
|
||||
TEMPLATE_PATTERN="-default_"
|
||||
;;
|
||||
*)
|
||||
*)
|
||||
TEMPLATE_PATTERN=""
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue