[lxc-users] Args for lxd init via script
Mark Constable
markc at renta.net
Fri May 19 06:39:12 UTC 2017
I'm trying to automate a simple setup of LXD via a bash script and I'm
not sure of the best way to provide some preset arguments to "lxd init",
if at all possible. Specifically...
Name of the storage backend to use (dir or zfs): zfs
Create a new ZFS pool (yes/no)? yes
Name of the new ZFS pool: lxd-pool
Would you like to use an existing block device (yes/no)? no
Size in GB of the new loop device (1GB minimum): 5
Would you like LXD to be available over the network (yes/no)? yes
Do you want to configure the LXD bridge (yes/no)? no
I'm hoping someone here has already been down this path, any suggestions?
More information about the lxc-users
mailing list