LXC Cleaner script starts LXC's even if they are not selected #54

Closed
opened 2026-02-04 16:23:15 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Scorpoon on GitHub (Nov 16, 2024).

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

Running bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/clean-lxcs.sh)" in the proxmox shell gives you the option to select which lxc should be cleaned.
In my case there are two lxc which aren't started and shouldn't be cleaned, so I didn't select them but the script treats them as if they are selected.

What settings are you currently utilizing?

Default Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

No response

Please provide detailed steps to reproduce the issue.

No response

Originally created by @Scorpoon on GitHub (Nov 16, 2024). ### Please verify that you have read and understood the guidelines. yes ### A clear and concise description of the issue. Running `bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/clean-lxcs.sh)"` in the proxmox shell gives you the option to select which lxc should be cleaned. In my case there are two lxc which aren't started and shouldn't be cleaned, so I didn't select them but the script treats them as if they are selected. ### What settings are you currently utilizing? Default Settings ### Which Linux distribution are you employing? Debian 12 ### If relevant, including screenshots or a code block can be helpful in clarifying the issue. _No response_ ### Please provide detailed steps to reproduce the issue. _No response_
OVERLORD added the bug label 2026-02-04 16:23:15 +03:00
Author
Owner

@MekongHigh commented on GitHub (Nov 16, 2024):

Running bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/clean-lxcs.sh)" in the proxmox shell gives you the option to select which lxc should be cleaned. In my case there are two lxc which aren't started and shouldn't be cleaned, so I didn't select them but the script treats them as if they are selected.

Select containers to skip from cleaning:

@MekongHigh commented on GitHub (Nov 16, 2024): > Running `bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/clean-lxcs.sh)"` in the proxmox shell gives you the option to **select which lxc should be cleaned.** In my case there are two lxc which aren't started and shouldn't be cleaned, **so I didn't select them** but the script treats them as if they are selected. Select containers to skip from cleaning:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#54