mirror of
https://github.com/labring/laf.git
synced 2025-12-08 20:26:22 +00:00
chore(deploy): improve macOS deploy guide (#1859)
This commit is contained in:
parent
e8b1270359
commit
6dc82ee6fd
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user