testing
This commit is contained in:
parent
5094a4d330
commit
72d31f1015
@ -16,7 +16,7 @@ update_os
|
||||
msg_warn "WARNING: This script will run an external installer from a third-party source (swizzin.io)."
|
||||
msg_warn "The following code is NOT maintained or audited by our repository."
|
||||
msg_warn "If you have any doubts or concerns, please review the installer code before proceeding:"
|
||||
msg_custom "${TAB3}${GATEWAY}${BGN}${CL}" "\e[1;34m" "→https://s5n.sh"
|
||||
msg_custom "${TAB3}${GATEWAY}${BGN}${CL}" "\e[1;34m" "→ https://s5n.sh"
|
||||
echo
|
||||
read -r -p "${TAB3}Do you want to continue? [y/N]: " CONFIRM
|
||||
if [[ ! "$CONFIRM" =~ ^([yY][eE][sS]|[yY])$ ]]; then
|
||||
|
@ -1437,6 +1437,17 @@ EOF'
|
||||
fi
|
||||
}
|
||||
|
||||
destroy_lxc() {
|
||||
if [[ -n "$CTID" ]]; then
|
||||
echo "Würde Container $CTID entfernen!"
|
||||
# pct stop "$CTID"
|
||||
# pct destroy "$CTID"
|
||||
# msg_ok "Removed this Container"
|
||||
else
|
||||
echo "Keine CTID – nichts zu entfernen."
|
||||
fi
|
||||
}
|
||||
|
||||
# This function sets the description of the container.
|
||||
description() {
|
||||
IP=$(pct exec "$CTID" ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user