|
|
@ -18,7 +18,7 @@ function createQcow2 {
|
|
|
|
function checkQcow2 { if [ ! -f "$dir/$hda" ]; then createQcow2; fi }
|
|
|
|
function checkQcow2 { if [ ! -f "$dir/$hda" ]; then createQcow2; fi }
|
|
|
|
|
|
|
|
|
|
|
|
function bootCD {
|
|
|
|
function bootCD {
|
|
|
|
qemu-system-x86_64 -enable-kvm -m $mem -cpu host -smp cpus=$nCores -machine type=pc,accel=kvm -boot d -cdrom $iso -hda $hda
|
|
|
|
qemu-system-x86_64 -enable-kvm -m $mem -cpu host -smp cpus=$nCores -machine type=pc,accel=kvm -boot d -cdrom "$iso" -hda $hda
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function bootHD {
|
|
|
|
function bootHD {
|
|
|
|