summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-01 00:19:55 -0500
committerScott Moser <smoser@ubuntu.com>2016-03-01 00:19:55 -0500
commit14915526ca67bbf7842028d48170015b85f87469 (patch)
treeb355f852bc8a585513eb7651f58ccbf54dd64460 /doc/examples
parentb7a6e92274bb0d146c4637a78128bc771f2612e9 (diff)
downloadvyos-cloud-init-14915526ca67bbf7842028d48170015b85f87469.tar.gz
vyos-cloud-init-14915526ca67bbf7842028d48170015b85f87469.zip
lxd: general fix after testing
A few changes: a.) change to using '--name=value' rather than '--name' 'value' b.) make sure only strings are passed to command (useful for storage_create_loop: which is likely an integer) c.) document simple working example d.) support installing zfs if not present and storage_backedn has it.
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/cloud-config-lxd.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-lxd.txt b/doc/examples/cloud-config-lxd.txt
index f66da4c3..b9bb4aa5 100644
--- a/doc/examples/cloud-config-lxd.txt
+++ b/doc/examples/cloud-config-lxd.txt
@@ -19,3 +19,10 @@ lxd:
network_port: 8443
storage_backend: zfs
storage_pool: datapool
+ storage_create_loop: 10
+
+
+# The simplist working configuration is
+# lxd:
+# init:
+# storage_backend: dir