mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
test remove script
This commit is contained in:
@@ -1428,6 +1428,15 @@ EOF
|
||||
systemctl start ping-instances.service
|
||||
fi
|
||||
|
||||
read -p "Remove this script? <y/N> " prompt
|
||||
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||
pct stop "$CTID"
|
||||
pct remove "$CTID"
|
||||
msg_ok "Removed this script"
|
||||
else
|
||||
msg_warn "Did not remove this script"
|
||||
fi
|
||||
|
||||
post_update_to_api "done" "none"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user