test
This commit is contained in:
parent
1c736626df
commit
e10cbff31c
@ -21,7 +21,7 @@ echo
|
|||||||
read -r -p "${TAB3}Do you want to continue? [y/N]: " CONFIRM
|
read -r -p "${TAB3}Do you want to continue? [y/N]: " CONFIRM
|
||||||
if [[ ! "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then
|
if [[ ! "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then
|
||||||
msg_error "Aborted by user. No changes have been made."
|
msg_error "Aborted by user. No changes have been made."
|
||||||
return 10
|
exit 10
|
||||||
fi
|
fi
|
||||||
bash <(curl -sL s5n.sh)
|
bash <(curl -sL s5n.sh)
|
||||||
|
|
||||||
|
@ -1428,7 +1428,7 @@ EOF'
|
|||||||
fi
|
fi
|
||||||
msg_ok "Customized LXC Container"
|
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
|
if ! lxc-attach -n "$CTID" -- bash -s < <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/$var_install.sh); then
|
||||||
EXITCODE=$?
|
EXITCODE=$?
|
||||||
echo "DEBUG: lxc-attach exit code was $EXITCODE"
|
echo "DEBUG: lxc-attach exit code was $EXITCODE"
|
||||||
if [[ $EXITCODE -eq 10 ]]; then
|
if [[ $EXITCODE -eq 10 ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user