aboutsummaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorThomas Hipp <thipp@suse.de>2017-12-01 13:29:00 +0100
committerThomas Hipp <thipp@suse.de>2017-12-01 15:23:31 +0100
commit9be42d2996fd6acd34b1bda8a4245d3aa7544135 (patch)
tree182fc4aa0093693c723f967fd68748e3bf0c302b /travis
parent380076c1943ebd10c5e5f54ad4ac751a736c5c1f (diff)
downloadterraform-provider-libvirt-9be42d2996fd6acd34b1bda8a4245d3aa7544135.tar
terraform-provider-libvirt-9be42d2996fd6acd34b1bda8a4245d3aa7544135.tar.gz
support local cdroms
Local cdroms can now be added directly to the domain. See the following example: ```hcl resource "libvirt_domain" "test-domain" { name = "test" disk { file = "path/to/file.iso" } } ``` Furthermore, a small Tiny Core Linux (TCL) ISO image has been added to the testdata. This can be used for testing purposes. Signed-off-by: Thomas Hipp <thipp@suse.de>
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/setup-guest3
1 files changed, 3 insertions, 0 deletions
diff --git a/travis/setup-guest b/travis/setup-guest
index 42568e81..0a671b2f 100755
--- a/travis/setup-guest
+++ b/travis/setup-guest
@@ -20,3 +20,6 @@ mkdir /pool-default
chmod a+rwx /pool-default
virsh pool-define pool.xml
virsh pool-start default
+echo -e 'user = "root"\ngroup = "root"' >> /etc/libvirt/qemu.conf
+systemctl restart libvirtd
+