lxd-p2c to proxmox : Converting to unprivileged container

balle

Member
Nov 6, 2021
5
0
6
56
I am trying to do a physical machine to container migration and bring it in to proxmox. I am unable to create a container created by lxd-p2c script. I assuming that this is because the container created by lxd-p2v is a privileged container and proxmox wants to create a unprivileged container

How do we convert and privileged container to unprivileged container


Error message output:
tar: ./usr: Cannot change ownership to uid 1000000, gid 1000000: Invalid argument
 
hi,

usually you can make a backup/restore and select privileged or unprivileged during restore.

i'm not sure how lxd-p2c integrates with our stack, but if you get a container rootfs tarball at the end, you should be able to give this as a template to PVE and choose unpriv/priv during creation.