Skip to content

Commit afc3a86

Browse files
fapfap
authored andcommitted
add ubuntu support
1 parent da8cfd5 commit afc3a86

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

check.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
echo "If you see other outputs with vmx or svm, then you can enable kvm on Linux."
2+
cat /proc/cpuinfo |egrep "vmx|svm"

check_ubuntu.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
#This script is originally from developer.google.com.
3+
#I do not make sure its usability.
4+
sudo apt-get install cpu-checker
5+
egrep -c '(vmx|svm)' /proc/cpuinfo
6+
kvm-ok

enable.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
sudo dnf install qemu-kvm libvirt* bridge-utils virt-install libguestfs-tools

enable_ubuntu.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
#This script is originally from developer.google.com.
3+
#I do not make sure its usability.
4+
sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils ia32-libs-multiarch

0 commit comments

Comments
 (0)