File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 253253TEMPLATE_SEARCH=" ${PCT_OSTYPE} -${PCT_OSVERSION:- } "
254254
255255msg_info " Updating LXC Template List"
256- if ! timeout 15 pveam update > /dev/null 2>&1 ; then
256+ if ! pveam update > /dev/null 2>&1 ; then
257257 TEMPLATE_FALLBACK=$( pveam list " $TEMPLATE_STORAGE " | awk " /$TEMPLATE_SEARCH / {print \$ 2}" | sort -t - -k 2 -V | tail -n1)
258258 if [[ -z " $TEMPLATE_FALLBACK " ]]; then
259259 msg_error " Failed to update LXC template list and no local template matching '$TEMPLATE_SEARCH ' found."
@@ -284,7 +284,7 @@ if ! pveam list "$TEMPLATE_STORAGE" | grep -q "$TEMPLATE" || ! zstdcat "$TEMPLAT
284284 for attempt in {1..3}; do
285285 msg_info " Attempt $attempt : Downloading LXC template..."
286286
287- if timeout 120 pveam download " $TEMPLATE_STORAGE " " $TEMPLATE " > /dev/null 2>&1 ; then
287+ if pveam download " $TEMPLATE_STORAGE " " $TEMPLATE " > /dev/null 2>&1 ; then
288288 msg_ok " Template download successful."
289289 break
290290 fi
You can’t perform that action at this time.
0 commit comments