Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED
This commit is contained in:
commit
0c9c28a3e7
@ -1428,10 +1428,10 @@ EOF
|
|||||||
systemctl start ping-instances.service
|
systemctl start ping-instances.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
read -p "Remove this script? <y/N> " prompt
|
read -p "Remove this Container? <y/N> " prompt
|
||||||
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||||
pct stop "$CTID"
|
pct stop "$CTID"
|
||||||
pct remove "$CTID"
|
pct destroy "$CTID"
|
||||||
msg_ok "Removed this script"
|
msg_ok "Removed this script"
|
||||||
else
|
else
|
||||||
msg_warn "Did not remove this script"
|
msg_warn "Did not remove this script"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user