diff options
author | Thomas Hipp <thipp@suse.de> | 2017-11-13 16:17:12 +0100 |
---|---|---|
committer | Thomas Hipp <thipp@suse.de> | 2017-11-13 16:43:37 +0100 |
commit | 3cade732ab5d73005c6d6ea0849e6c480f06d2c5 (patch) | |
tree | 1116a962144865ed707b9b61e351c6c41a809374 | |
parent | 6284d746e12ed81215adbc5f97ba8d0fed835ba4 (diff) | |
download | terraform-provider-libvirt-3cade732ab5d73005c6d6ea0849e6c480f06d2c5.tar terraform-provider-libvirt-3cade732ab5d73005c6d6ea0849e6c480f06d2c5.tar.gz |
fix travis
This fixes #222.
Signed-off-by: Thomas Hipp <thipp@suse.de>
-rwxr-xr-x | travis/setup-host | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/travis/setup-host b/travis/setup-host index fd4ad07f..cd9ce64c 100755 --- a/travis/setup-host +++ b/travis/setup-host @@ -1,6 +1,8 @@ #!/bin/bash set -x +sudo mknod /dev/kvm c 10 232 + sudo apt -t trusty-backports install -y lxd sudo sed -i 's/LXD_IPV4_ADDR=".*"/LXD_IPV4_ADDR="192.168.123.1"/' /etc/default/lxd-bridge @@ -13,4 +15,5 @@ sudo service lxd restart sudo lxc launch ubuntu:zesty libvirt -c security.privileged=true sudo lxc config device add libvirt code disk source=`pwd` path=code +sudo lxc config device add libvirt kvm unix-char path=/dev/kvm sudo lxc info libvirt |