Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripting: add export command #6716

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

naveenrajm7
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add utmctl export command
1 participant