mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Default to sane disk image size based on OS
This commit is contained in:
parent
01ca84566a
commit
0237499331
1 changed files with 3 additions and 0 deletions
3
quickemu
3
quickemu
|
@ -192,15 +192,18 @@ function vm_boot() {
|
|||
case ${guest_os} in
|
||||
linux)
|
||||
CPU="-cpu host,kvm=on"
|
||||
disk="16G"
|
||||
;;
|
||||
macos)
|
||||
CPU="-cpu Penryn,vendor=GenuineIntel,kvm=on,+aes,+avx,+avx2,+bmi1,+bmi2,+fma,+invtsc,+movbe,+pcid,+smep,+sse3,+sse4.2,+xgetbv1,+xsave,+xsavec,+xsaveopt"
|
||||
OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | rot13)
|
||||
GUEST_TWEAKS="-device isa-applesmc,osk=${OSK}"
|
||||
disk="64G"
|
||||
;;
|
||||
windows)
|
||||
CPU="-cpu host,kvm=on,hv_time"
|
||||
GUEST_TWEAKS="-no-hpet"
|
||||
disk="64G"
|
||||
;;
|
||||
*)
|
||||
CPU="-cpu host,kvm=on"
|
||||
|
|
Loading…
Reference in a new issue