Some LXD images like openwrt don’t support updating themselves. Thus, their volumes need to be initialized from an image with a newer version.
Unfortunately, lxc
doesn’t allow to perform that action outside of lxc launch
. I mean I could just recreate the whole container instance and delete the old one but then I’d loose both the config(including all the generated MAC and IP addresses) and the volume snapshots.
So, is my approach to updating such containers just wrong or is this indeed a (crucial?) feature missing from the lxc
CLI?