UTM
UTM copied to clipboard
scripting: add export command
Fixes #6553
- Exposed VM export via Apple Scripting and CLI
- Turned on sandbox for unsigned utmctl binary to be consistent with unsigned UTM. So we can test the same data across unsigned products.
Example:
Usage in AppleScript
tell application "/Users/***/UTM.app"
set vm to virtual machine named "ubuntu"
set output to POSIX file "/Users/***/ubuntuExport.utm"
export vm to output
end tell
Usage in cli (path must be writable by utmctl)
utmctl export ubuntu --path /Users/***/ubuntuExport.utm