From e648442675ada777d1298ef9fdfe132ef65c75d0 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Wed, 16 Jun 2021 17:09:53 -0700 Subject: [PATCH 1/2] Add more instructions about headless systems. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aee29a5..0d91afb 100644 --- a/README.md +++ b/README.md @@ -46,9 +46,15 @@ Then run `basic.sh` to start the machine and install macOS. Remember to partitio ## Step 2b (Headless Systems) If you're using a cloud-based/headless system, you can use `headless.sh` to set up a quick VNC instance. Settings are defined through variables as seen in the following example. VNC will start on port `5900` by default. ``` -HEADLESS=1 MEM=1G CPUS=2 SYSTEM_DISK=MyDisk.qcow2 ./headless.sh +HEADLESS=1 MEM=7G CPUS=2 SYSTEM_DISK=MyDisk.qcow2 ./headless.sh ``` +You might `MEM` and `CPUS` values to what would be appropriate for your cloud server. + +When you run the script, you will see output [like this](https://user-images.githubusercontent.com/5187404/122309990-37cc9b80-cec4-11eb-95ae-e6f3160a2791.png). That means you're ready to move on, and now there's a VNC server set up by the script, and you can access your macOS VM that way. + +By default, the VNC server for the macOS VM will run on port 5900. (If you already have a VNC server for your cloud system, this would be *in addition to* that one.) If you've restricted to only SSH access, then you would want to forward the port to your localhost so you could connect: `ssh -L 5900:127.0.0.1:5900 -C -N -l your_user your_ssh`. + ## Step 3 You're done! From 2d73d577a161139b180a64c2c9aff913493e1b12 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Fri, 3 Sep 2021 16:53:28 -0700 Subject: [PATCH 2/2] Update README.md Co-authored-by: Sawood Alam --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d91afb..f039871 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ If you're using a cloud-based/headless system, you can use `headless.sh` to set HEADLESS=1 MEM=7G CPUS=2 SYSTEM_DISK=MyDisk.qcow2 ./headless.sh ``` -You might `MEM` and `CPUS` values to what would be appropriate for your cloud server. +You might change `MEM` and `CPUS` values to what would be appropriate for your cloud server. When you run the script, you will see output [like this](https://user-images.githubusercontent.com/5187404/122309990-37cc9b80-cec4-11eb-95ae-e6f3160a2791.png). That means you're ready to move on, and now there's a VNC server set up by the script, and you can access your macOS VM that way.