mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-03 21:40:34 +07:00
Improve test makefile
This commit is contained in:
parent
5a7ccf88d5
commit
c349d2c994
@ -1,16 +1,21 @@
|
||||
.POSIX:
|
||||
|
||||
NAME = homelab
|
||||
|
||||
run:
|
||||
multipass list | grep homelab \
|
||||
multipass list | grep $(NAME) \
|
||||
|| multipass launch \
|
||||
--cpus 4 \
|
||||
--mem 8G \
|
||||
--disk 64G \
|
||||
--cloud-init ./multipass-cloud-init.yaml \
|
||||
--name homelab \
|
||||
--name $(NAME) \
|
||||
release:20.10
|
||||
multipass shell homelab
|
||||
multipass shell $(NAME)
|
||||
|
||||
stop:
|
||||
multipass stop $(NAME)
|
||||
|
||||
clean:
|
||||
multipass delete homelab
|
||||
multipass delete $(NAME)
|
||||
multipass purge
|
||||
|
Loading…
Reference in New Issue
Block a user