mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
fixes
This commit is contained in:
@@ -1428,8 +1428,12 @@ EOF'
|
||||
fi
|
||||
msg_ok "Customized LXC Container"
|
||||
|
||||
if ! lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/"$var_install".sh)"; then
|
||||
exit $?
|
||||
if ! lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/$var_install.sh)"; then
|
||||
EXITCODE=$?
|
||||
if [[ $EXITCODE -eq 10 ]]; then
|
||||
destroy_lxc
|
||||
fi
|
||||
exit $EXITCODE
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user