Update create_lxc.sh
This commit is contained in:
parent
24a6eb0eb1
commit
8a28fa2d25
@ -283,7 +283,7 @@ elif ! tar --use-compress-program=zstdcat -tf "$TEMPLATE_PATH" >/dev/null 2>&1;
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$TEMPLATE_VALID" -eq 0 ]; then
|
if [ "$TEMPLATE_VALID" -eq 0 ]; then
|
||||||
msg_warn "Template $TEMPLATE not found or appears to be corrupted. Re-downloading."
|
msg_warn "Template $TEMPLATE not found or appears to be corrupted. Re-downloading. 11"
|
||||||
[[ -f "$TEMPLATE_PATH" ]] && rm -f "$TEMPLATE_PATH"
|
[[ -f "$TEMPLATE_PATH" ]] && rm -f "$TEMPLATE_PATH"
|
||||||
for attempt in {1..3}; do
|
for attempt in {1..3}; do
|
||||||
msg_info "Attempt $attempt: Downloading LXC template..."
|
msg_info "Attempt $attempt: Downloading LXC template..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user