PVE Privilege Converter

This script allows converting Proxmox LXC containers between privileged and unprivileged modes using vzdump backup and restore. It guides you through container selection, backup storage, ID assignment, and privilege flipping via automated restore. Useful for applying changes that require different LXC modes.

To use the PVE Privilege Converter script, run the command below only in the Proxmox VE Shell. This script is intended for managing or enhancing the host system directly.

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/pve-privilege-converter.sh)"

  • Execute this script inside the Proxmox shell as root.
  • Ensure that the backup and target storage have enough space.
  • The container will be recreated with a new ID and desired privilege setting.