mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 21:14:50 +07:00
Add snapshot and restore
This commit is contained in:
parent
5e0036defd
commit
a00cd2b288
@ -1,10 +1,13 @@
|
||||
.POSIX:
|
||||
|
||||
default: init metal infra
|
||||
default: init snapshot metal infra
|
||||
|
||||
init:
|
||||
vagrant up
|
||||
|
||||
snapshot:
|
||||
vagrant snapshot save init
|
||||
|
||||
metal:
|
||||
python3 -m venv .venv \
|
||||
&& . .venv/bin/activate \
|
||||
@ -18,5 +21,8 @@ infra:
|
||||
stop:
|
||||
vagrant halt
|
||||
|
||||
restore:
|
||||
vagrant snapshot restore init
|
||||
|
||||
clean:
|
||||
vagrant destroy -f
|
||||
|
Loading…
Reference in New Issue
Block a user