mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +07:00
22 lines
314 B
Makefile
22 lines
314 B
Makefile
.POSIX:
|
|
|
|
NAME = homelab
|
|
|
|
run:
|
|
multipass list | grep $(NAME) \
|
|
|| multipass launch \
|
|
--cpus 4 \
|
|
--mem 8G \
|
|
--disk 64G \
|
|
--cloud-init ./multipass-cloud-init.yaml \
|
|
--name $(NAME) \
|
|
release:20.10
|
|
multipass shell $(NAME)
|
|
|
|
stop:
|
|
multipass stop $(NAME)
|
|
|
|
clean:
|
|
multipass delete $(NAME)
|
|
multipass purge
|