lxc server config:
lxc project x:
config: features.images: "true"
changing to features.images: “false” throws:
Features can only be changed on empty projects
As project already has numerous containers, purging and recreating is no option.
This has worked:
lxd sql global 'UPDATE "projects_config" SET "value" = "false" WHERE "project_id" = "111" AND "key" = "features.images"'
Is there also a way to lend an image to another project? Seems images can be moved around the world, but within same server projects.
Work around is:
- export image, switch profile, import, though image properties are lost and need to be maintained again.
- lxd sql global (table
imagesclone the desired row with ‘project’ field as destination project_id).
images_aliases and i
mages_propertiestables need to be triggered as well, just in case.