vmcli
vmcli copied to clipboard
A set of utilities (vmcli + vmctl) for macOS Virtualization.framework
Thanks a lot for vmcli, it works great! It would be nice if it could be added to brew for easy installation and updates?
wip
command line: ```bash $ vmcli --config ubuntu/vm.conf ``` ```text shutdown-timeout=15 cpu-count=1 memory-size=256 kernel=kernel initrd=rootfs disk=disk-0.img disk=disk-1.img network=e6:64:3d:68:5c:78@nat cmdline=console=hvc0 irqfixup root=/dev/vda ```
This requires macOS 13.0+ and does not need/use a kernel, initrd or command-line, it just boots e.g. Grub or a similar EFI bootloader from the provided disk image. A path...
In order to enable support for multiple different OS's and first boot setups, this commit rewrites VMCTL in swift from shell script. This rewrite enables support for other operating systems...
I get this error when building on macOS 14 (Intel): ``` vmcli/vmcli/Sources/vmcli/main.swift:292:49: error: cannot find 'VZLinuxRosettaDirectoryShare' in scope let rosettaDirectoryShare = try VZLinuxRosettaDirectoryShare() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```