summaryrefslogtreecommitdiffstats
path: root/ci/odl/cloud-sh-odl/compute.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/odl/cloud-sh-odl/compute.sh')
-rwxr-xr-xci/odl/cloud-sh-odl/compute.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/ci/odl/cloud-sh-odl/compute.sh b/ci/odl/cloud-sh-odl/compute.sh
new file mode 100755
index 00000000..eb818250
--- /dev/null
+++ b/ci/odl/cloud-sh-odl/compute.sh
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+modprobe kvm_intel
+printf "\n%s\n" kvm_intel >> /etc/modules
+service libvirt-bin restart
+
+sed -e 's/KSM_ENABLED=1/KSM_ENABLED=0/' -i /etc/default/qemu-kvm
+service qemu-kvm restart