修复虚拟机工具在系统版本选择第 5 项及以后出现不会挂载 ISO 的问题(使用 Qemu 的情况下)

This commit is contained in:
2023-11-11 21:38:01 +08:00
parent 754a0d487c
commit 2b0538435a
3 changed files with 8 additions and 1 deletions

View File

@@ -160,7 +160,8 @@ buildvbox::buildvbox(QString isoPath, int id, int vm){
}
}
else{
vm.AutoInstall(isoPath);
//vm.AutoInstall(isoPath);
vm.MountMainISO(isoPath);
}
vm.SetCPU(get_nprocs(), GetCPUSocket(), GetCPUCore());