Boot VM ISOs with serial using Apple Hypervisor Framework
To use Swift VM CLI, ensure that your system meets the following requirements:
-
Apple Silicon based Mac: Swift VM CLI relies on Apple's Hypervisor Framework, which is available on Macs with Apple Silicon architecture.
-
macOS 13.0 Ventura or later: Make sure you are running macOS 13.0 Ventura or a later version. This is necessary for compatibility with the Apple Hypervisor Framework.
-
Xcode: You need to have Xcode installed on your system. If not already installed, you can download and install Xcode from the App Store or Apple's official website.
Ensure that these prerequisites are met before proceeding with the build and usage of Swift VM CLI.
-
Clone this repository to your local machine:
git clone https://github.com/pkgdemon/swift-vm-cli.git
-
Build the project using Xcode:
cd swift-vm-cli xcodebuild
-
Run the project to display the build path:
Usage: <path-to-built-executable> <iso-path>
Example:
/path/to/built/executable/swift-vm-cli /path/to/your/iso-file.iso
-
Navigate to the directory containing the built executable:
cd /path/to/built/executable/
-
Run the application using an ISO file as an argument:
./swift-vm-cli /path/to/your/iso-file.iso
Make sure to replace placeholders like <path-to-built-executable>
and <path/to/your/iso-file.iso>
with the actual paths.