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
Alain Lehmann b2f2d2c774 automate setup process of utm nixos vm
- use proper disk image format (current 10G)
- change nixosIP to use mac addr => arp information
- add nixos-anywhere/nixos/disko configuration
- add script to remove iso to avoid boot order problems
2023-10-07 02:14:36 +02:00

11 lines
315 B
Text

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