mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-10 16:06:27 +00:00
Rename lxc-delete.sh to guest-delete.sh
The tool deletes VMs as well now, so the name no longer describes it. The telemetry slug moves with the file. Needs a guest-delete entry in PocketBase before merging: the removal workflow derives its slug from the deleted path and will mark lxc-delete as is_deleted, and nothing creates an entry for a newly added tools/ script.
This commit is contained in:
@@ -40,7 +40,7 @@ CM="${TAB}✔️${TAB}${CL}"
|
||||
|
||||
# Telemetry
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func) 2>/dev/null || true
|
||||
declare -f init_tool_telemetry &>/dev/null && init_tool_telemetry "lxc-delete" "pve"
|
||||
declare -f init_tool_telemetry &>/dev/null && init_tool_telemetry "guest-delete" "pve"
|
||||
|
||||
GUEST_LOG=$(mktemp)
|
||||
trap 'rm -f "$GUEST_LOG"' EXIT
|
||||
Reference in New Issue
Block a user