mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 20:15:54 +00:00
Update create_lxc.sh
This commit is contained in:
@@ -283,9 +283,6 @@ function ensure_template_ready() {
|
|||||||
elif [ ! -s "$template_path" ]; then
|
elif [ ! -s "$template_path" ]; then
|
||||||
msg_warn "Template file $template_path is empty or missing."
|
msg_warn "Template file $template_path is empty or missing."
|
||||||
template_invalid=1
|
template_invalid=1
|
||||||
elif ! tar --use-compress-program=zstdcat -tf "$template_path" >/dev/null 2>&1; then
|
|
||||||
msg_warn "Template $template_path failed archive integrity check."
|
|
||||||
template_invalid=1
|
|
||||||
else
|
else
|
||||||
template_invalid=0
|
template_invalid=0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user