How can I run 'lxd init' and initialise a storage pool in a mounted directory?

So when I run lxd init I get asked the name for my Storage Pool but not my location. Is there a way to set its location on when running lxd init?

Also is there some sort of config file I can run and it will do the whole LXD Init process for? me?

If so where is the documentation?

Thanks.

1 Like

If you choose dir as the storage pool type, then entering the path to an existing empty directory for source option will setup the storage pool to use that empty directory.