Should Ubuntu users run the update script for new LXC?


On page LXC 2.1 has been released it says that this command needs to be run to update the configuration of containers to the new style.

lxc-update-config -c /path/to/config

I am an Ubuntu user of LXD, and I’ve added the LXD repo for automatic upgrades to the latest version. Will I need to execute the above command? If not, why not? Thank you.

LXD users don’t have anything to do when upgrading liblxc to 2.1.

LXD 2.17 is aware of LXC 2.1 and will dynamically start using the new configuration keys as needed. The only place where manual intervention may be needed is if you’re using the “raw.lxc” config key in your LXD containers.