Hi,
I have several LXC containers that have several "lxc.*" settings (lxc.mount.entry, lxc.cgroup.devices.allow, etc) in the config file.
Due to organizative reasons I decided to move most of the containers to different ID numbers which basically consisted of stopping the containers, backing them up, restore them under different IDs, remove the old ones and start the new ones.
But in all the newly restored containers all the "lxc.*" lines (Excepting lxc.idmap which does gets restored) were gone from the configuration file.
By going to the "Content" section to where the "VZDump backups file"s are located and clicking on the vzdump-lxc file, when showing the configuration all "lxc." lines are present, and it seems that they get removed during restoring each time. Privileged and non-privileged containers seems to have the exact same issue.
Is this behaviour by design or is it a feature?
I have several LXC containers that have several "lxc.*" settings (lxc.mount.entry, lxc.cgroup.devices.allow, etc) in the config file.
Due to organizative reasons I decided to move most of the containers to different ID numbers which basically consisted of stopping the containers, backing them up, restore them under different IDs, remove the old ones and start the new ones.
But in all the newly restored containers all the "lxc.*" lines (Excepting lxc.idmap which does gets restored) were gone from the configuration file.
By going to the "Content" section to where the "VZDump backups file"s are located and clicking on the vzdump-lxc file, when showing the configuration all "lxc." lines are present, and it seems that they get removed during restoring each time. Privileged and non-privileged containers seems to have the exact same issue.
Is this behaviour by design or is it a feature?