-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hi,
just download and install the latest version, if I use the command to have the minimal help page I see:
% macosvm --version
macosvm 0.2-1
Copyright (C) 2022 Simon Urbanek
There is NO warranty.
Licenses: GPLv2 or GPLv3
Capabilites: macOS guest, vol, vol:automount, net:unix:mtu, usb
% macosvm -h
Usage: macosvm [-g|--[no-]gui] [--[no-]audio]
[--restore <path>] [--ephemeral] [--recovery]
[--{disk|usb} <path>[,ro][,size=<spec>][,keep]] [--aux <path>]
[--vol <path>[,ro][,{name=<name>|automount}]]
[--net <spec>] [--mac <addr>] [-c <cpu>] [-m <ram>]
[--no-serial] [--pty] <config.json>
macosvm --version
macosvm -h
--restore requires path to ipsw image and will create aux as well as the configuration file.
If no CPU/RAM is specified then image's minimal settings are used.
If no --restore is performed then settings are read from the configuration file
and only --gui / --audio options are honored.
Size specifications allow suffix k, m and g for the powers of 1024.
Network specification is <type>[:<options>], one of the following:
nat[:<mac>] (NAT network, default, most common), br[:<interface>]
(bridged network on <interface>), unix:<socket>[,mac=<mac>][,mtu=<mtu>]
(unix socket to which all network traffic will be routed).
Note that br requires special entitlement rarely given by Apple.
Note that the --mac option is special and will override the first interface
from the configuration file and/or --net (typically used with --ephemeral).
Examples:
# create a new VM with 32Gb disk image and macOS 12:
macosvm --disk disk.img,size=32g --aux aux.img --restore UniversalMac_12.0.1_21A559_Restore.ipsw vm.json
# start the created image with GUI:
macosvm -g vm.json
Experimental, use at your own risk!
But on the readme section I have the option -r to set the RAM:
https://github.com/s-u/macosvm?tab=readme-ov-file#details
Metadata
Metadata
Assignees
Labels
No labels