How to set storage pool for snapcraft --use-lxd

Hey,

So I’m building some fairly large snaps at the moment using snapcraft --use-lxd, but only have a tiny SD card in the raspberry pi it is being built on. Have added and external hard drive and created an LXC storage pool on it.

I know how to manually create a container that uses the external pool, but how do I get snapcraft --use-lxd to create the build containers in it?

Setting it directly is not supported, for now it would need to be part of the default lxd profile.

1 Like

Thank you. At least I know it isn’t me being configuration blind.