Create a storage volume with a preseed file?


I am interested in configuring LXD using a preseed file. One of the things I want to set is storage.images_volume as outlined here to a custom location. I can define the storage pool within the preseed file, but how do I define the storage volume? It seems that the volume must exist for storage.images_volume to be set (e.g. it isn’t created automatically), but I can’t see how to create the volume via the preseed file. Thanks!

This isn’t something that is supported at the moment.

You could open an issue here: Issues · lxc/lxd · GitHub

Thank you for the clarification; I’ve opened an issue on GitHub

1 Like