imfreedom/bamboo-terraform
Clone
Summary
Browse
Changes
Graph
Some doc updates
draft
2019-02-06, Gary Kramlich
22ea798fcefd
Parents
d3cb1067774e
Children
285b0bb0eea7
Some doc updates
1 files changed, 12 insertions(+), 1 deletions(-)
+12
-1
README.md
--- a/README.md Wed Feb 06 23:09:17 2019 -0600
+++ b/README.md Wed Feb 06 23:11:49 2019 -0600
@@ -9,6 +9,16 @@
mkisofs and libvirt are needed on the machine where terraform is running for
these plans to run properly.
+On Debian based hosts there is an apparmor policy that missing that will cause
+permission errors. To fix it you need to add the following to
+`/etc/apparmor.d/abstractions/libvirt-qemu`. I've been putting it at the end
+of the file and everything is fine.
+
+```
+ # for terraform-libvirt
+ /var/lib/libvirt/images/* rwk,
+```
+
# Usage
You need to have a `node.tfvars` in the `nodes/` directory which has contents
@@ -17,7 +27,6 @@
```
libvirt_uri = "qemu:///system"
admin_ssh_pubkey = "ssh pubkey"
-
worker_count = 2
```
@@ -26,6 +35,8 @@
`worker_count` is the number of Bamboo agents to provision.
+You can also use the `volume_pool` variable to use a different volume pool.
+
Once that file is created you provision it via:
```