summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-lxd.txt
diff options
context:
space:
mode:
authorWesley Wiedenmeier <wesley.wiedenmeier@gmail.com>2016-02-04 16:14:15 -0600
committerWesley Wiedenmeier <wesley.wiedenmeier@gmail.com>2016-02-04 16:14:15 -0600
commit814e04654736db6b7443d72d5daa62b56f7a61b9 (patch)
treee0c9104ba8f61582986bd013ff92c17d072718fe /doc/examples/cloud-config-lxd.txt
parentee40614b0a34a110265493c176c64db823aa34b3 (diff)
downloadvyos-cloud-init-814e04654736db6b7443d72d5daa62b56f7a61b9.tar.gz
vyos-cloud-init-814e04654736db6b7443d72d5daa62b56f7a61b9.zip
Added example cc_lxd config
Diffstat (limited to 'doc/examples/cloud-config-lxd.txt')
-rw-r--r--doc/examples/cloud-config-lxd.txt21
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