Created
March 31, 2010 15:36
-
-
Save pmclanahan/350476 to your computer and use it in GitHub Desktop.
Allows you to use both VirtualBox and KVM virtualization on the same machine.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Allows you to use both VirtualBox and KVM virtualization on the same machine. | |
# I replaced the commands to start both VB and KVM with this script. | |
# you'll also need to disable both services from starting automatically. | |
# sudo update-rc.d qemu-kvm disable | |
# sudo update-rc.d vboxdrv disable | |
case "$1" in | |
vbox) | |
gksudo service qemu-kvm stop | |
gksudo service vboxdrv start | |
VirtualBox | |
;; | |
*) | |
gksudo service vboxdrv stop | |
gksudo service qemu-kvm start | |
virt-manager | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It works. Thank you.