From 3cade732ab5d73005c6d6ea0849e6c480f06d2c5 Mon Sep 17 00:00:00 2001 From: Thomas Hipp Date: Mon, 13 Nov 2017 16:17:12 +0100 Subject: fix travis This fixes #222. Signed-off-by: Thomas Hipp --- travis/setup-host | 3 +++ 1 file changed, 3 insertions(+) (limited to 'travis') 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 -- cgit v1.2.3