diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-02-25 14:37:04 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-02-25 14:37:04 -0500 |
commit | 3b773f7919c86a58956e2fc493512bb2c1ce31a8 (patch) | |
tree | 6ab76ff494ceeb75b567b7c247791d1b6dac03a3 /doc | |
parent | df6af3e1433b9e5564bec7cd452cfb3a0fb403e9 (diff) | |
parent | 4d8e7324c7242e1c969c8561462def6c1cda747c (diff) | |
download | vyos-cloud-init-3b773f7919c86a58956e2fc493512bb2c1ce31a8.tar.gz vyos-cloud-init-3b773f7919c86a58956e2fc493512bb2c1ce31a8.zip |
lxd: add support for setting up lxd using 'lxd init'
If lxd key is present in cfg, then run 'lxd init' with values from the
'init' entry in lxd configuration as flags.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/cloud-config-lxd.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-lxd.txt b/doc/examples/cloud-config-lxd.txt new file mode 100644 index 00000000..f66da4c3 --- /dev/null +++ b/doc/examples/cloud-config-lxd.txt @@ -0,0 +1,21 @@ +#cloud-config + +# configure lxd +# default: none +# all options default to none if not specified +# lxd: config sections for lxd +# init: dict of options for lxd init, see 'man lxd' +# network_address: address for lxd to listen on +# network_port: port for lxd to listen on +# storage_backend: either 'zfs' or 'dir' +# storage_create_device: device based storage using specified device +# storage_create_loop: set up loop based storage with size in GB +# storage_pool: name of storage pool to use or create +# trust_password: password required to add new clients + +lxd: + init: + network_address: 0.0.0.0 + network_port: 8443 + storage_backend: zfs + storage_pool: datapool |