mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 15:45:54 +00:00
remove debug output
This commit is contained in:
@@ -3078,7 +3078,7 @@ create_lxc_container() {
|
||||
TEMPLATE_SEARCH="${PCT_OSTYPE}-${PCT_OSVERSION}"
|
||||
SEARCH_PATTERN="^${TEMPLATE_SEARCH}-"
|
||||
|
||||
echo "[DEBUG] Retrying with version: $PCT_OSVERSION"
|
||||
#echo "[DEBUG] Retrying with version: $PCT_OSVERSION"
|
||||
|
||||
mapfile -t ONLINE_TEMPLATES < <(
|
||||
pveam available -section system 2>/dev/null |
|
||||
@@ -3091,7 +3091,7 @@ create_lxc_container() {
|
||||
if [[ ${#ONLINE_TEMPLATES[@]} -gt 0 ]]; then
|
||||
TEMPLATE="${ONLINE_TEMPLATES[-1]}"
|
||||
TEMPLATE_SOURCE="online"
|
||||
echo "[DEBUG] Found alternative: $TEMPLATE"
|
||||
#echo "[DEBUG] Found alternative: $TEMPLATE"
|
||||
else
|
||||
msg_error "No templates available for ${PCT_OSTYPE} ${PCT_OSVERSION}"
|
||||
exit 225
|
||||
@@ -3106,8 +3106,8 @@ create_lxc_container() {
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "[DEBUG] Selected TEMPLATE='$TEMPLATE' SOURCE='$TEMPLATE_SOURCE'"
|
||||
msg_debug "Selected TEMPLATE='$TEMPLATE' SOURCE='$TEMPLATE_SOURCE'"
|
||||
#echo "[DEBUG] Selected TEMPLATE='$TEMPLATE' SOURCE='$TEMPLATE_SOURCE'"
|
||||
#msg_debug "Selected TEMPLATE='$TEMPLATE' SOURCE='$TEMPLATE_SOURCE'"
|
||||
|
||||
TEMPLATE_PATH="$(pvesm path $TEMPLATE_STORAGE:vztmpl/$TEMPLATE 2>/dev/null || true)"
|
||||
if [[ -z "$TEMPLATE_PATH" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user