Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
johnko committed Jan 21, 2025
1 parent 938a050 commit 718dfbb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions bin/macos-multipass-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ usage() {
cat <<EOS
Usage:
${0##*/} [create|destroy|info|list|ps|restart|stop|start] -n NAME -c [1-4] -m [1-8] -s [10-60]
Example:
${0##*/} create -n test -i 24.04 -c 1 -m 4 -s 20
${0##*/} start -n test
EOS
exit 1
}
Expand Down Expand Up @@ -146,12 +150,12 @@ case $ACTN in
sudo multipass stop $NAME
sudo multipass start $NAME
;;
stop)
sudo multipass stop $NAME
;;
start)
sudo multipass start $NAME
;;
stop)
sudo multipass stop $NAME
;;
*)
usage
;;
Expand Down

0 comments on commit 718dfbb

Please sign in to comment.