chore(deploy): improve macOS deploy guide (#1859)

This commit is contained in:
Wu Rui 2024-02-21 11:54:10 +08:00 committed by GitHub
parent e8b1270359
commit 6dc82ee6fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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