From 1e82d08fd631e637f20818701590fb7f86e93563 Mon Sep 17 00:00:00 2001 From: ModyQyW Date: Tue, 20 Feb 2024 14:31:23 +0800 Subject: [PATCH] docs: improve macOS deploy guide --- deploy/README.md | 4 +++- deploy/install-on-mac.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy/README.md b/deploy/README.md index 254ef125ca..b54fedcecc 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -27,7 +27,9 @@ sh install-on-linux.sh $DOMAIN brew install --cask multipass ``` -2. Create vm & deploy in it +2. Grant `Settings -> Security & Privacy -> Full Disk Access` for multipassd + +3. Create vm & deploy in it ```bash cd deploy diff --git a/deploy/install-on-mac.sh b/deploy/install-on-mac.sh index 59f31fa90a..c7661c801c 100755 --- a/deploy/install-on-mac.sh +++ b/deploy/install-on-mac.sh @@ -51,7 +51,7 @@ if multipass list | grep -e "^$NAME "; then fi echo "Creating VM..." -echo "\tmultipass launch --name $NAME --cpus 2 --memory 4G --disk 40G" +echo "\tmultipass launch --name $NAME --cpus 2 --memory 4G --disk 50G" multipass launch --name "$NAME" --cpus 2 --memory 4G --disk 50G 22.04 # shellcheck disable=SC2181 if [ $? -eq 0 ]; then