ABOUT
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.
infoExecute this script inside the Proxmox shell as root.
warningEnsure that the backup and target storage have enough space.
infoThe container will be recreated with a new ID and desired privilege setting.
INSTALL
Approved local installer
DefaultDebian 13
Approved locallyRun this command in the Proxmox VE shell. It downloads the immutable approved file, verifies SHA-256, and only then executes it.
( url='https://scripts.francoisvw.com/snapshots/c19711ea1b2526bec67e34be948114e255b5a811/tools/pve/pve-privilege-converter.sh'; sha='ce06764ce422c37bdae8efaf6c47c3f0074e8935dab51706294b300bf7e5fcd7'; tmp="$(mktemp)" || exit; curl -fsSL "$url" -o "$tmp" && printf '%s %s\n' "$sha" "$tmp" | sha256sum -c - && bash "$tmp"; rc=$?; rm -f "$tmp"; exit "$rc" )
View approved source ↗Path tools/pve/pve-privilege-converter.shSHA-256 ce06764ce422c37bdae8efaf6c47c3f0074e8935dab51706294b300bf7e5fcd7 LOCAL CHANGE REVIEW
Approved vs latest fetched source
Sign in with a passkey to inspect pending source changes. Approved content remains public.