mirror of
https://github.com/khuedoan/homelab.git
synced 2025-07-04 23:40:20 +07:00
Add snapshot and restore
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user