1
0
Fork 0
mirror of https://github.com/ciderale/nixos-utm.git synced 2024-12-14 11:37:37 +00:00
nixos-utm/removeIso.osa

12 lines
315 B
Text
Raw Normal View History

on run argv
set vm_name to item 1 of argv
tell application "UTM"
set vm to virtual machine named vm_name
set config to configuration of vm
set mydrives to drives of config
set newdrives to (item 1 of mydrives)
set drives of config to newdrives
update configuration of vm with config
end tell
end run