This commit is contained in:
2023-11-11 21:41:18 +08:00
parent 2b0538435a
commit 6b4c95b3c4

View File

@@ -161,9 +161,12 @@ buildvbox::buildvbox(QString isoPath, int id, int vm){
} }
else{ else{
//vm.AutoInstall(isoPath); //vm.AutoInstall(isoPath);
if(isoPath != ""){
vm.MountMainISO(isoPath); vm.MountMainISO(isoPath);
} }
}
vm.SetCPU(get_nprocs(), GetCPUSocket(), GetCPUCore()); vm.SetCPU(get_nprocs(), GetCPUSocket(), GetCPUCore());
long memory = 0; long memory = 0;
long memoryAll = 0; long memoryAll = 0;