Cannot create a macOS vm using apple script #5642
Replies: 2 comments
-
In AppleScript property of object could have property of other object. In other words a nested object. Here is example how to change memory for VM from 8GB to 4GB.
To make is more clear you need to understand how the nested configuration of specified object work.
The drives object has 2 AppleScript record object.
|
Beta Was this translation helpful? Give feedback.
-
Hello, any update/comment on this issue please ? I am facing the same issue and not able to change "operating system" under "boot" options from "Linux" to "macOC" using the Apple Script. I do not see any option under "apple configuration" section in the documentation as well. I tried below code to change the OS configuration but resulted into an error. `
end tell ` Error: "error "UTM got an error: Can’t make " Thanks for your help in advance ! |
Beta Was this translation helpful? Give feedback.
-
Describe the issue
I'm trying to script a macOS vm creation following the example in the CheatSheet but the resulting VM is always a linux VM, the documentation seems to be incomplete too, since it doesn't show how to specify boot or operating system parameters in configuration (if it's possible at all).
I don't know if i understand correctly but it seems to be hardcoded that the VM created with scripting will always be linux, am i right? https://github.com/utmapp/UTM/blob/main/Scripting/UTMScriptingCreateCommand.swift#L106
Configuration
If someone can show me how to script a macOS vm would be really helpful.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions