Files
winos-config/vm_test/justfile
EthanShoeDev fd2b236a47 stuff
2025-12-30 00:17:52 -05:00

55 lines
898 B
Makefile

set windows-shell := ["pwsh.exe", "-NoLogo", "-NoProfile", "-CommandWithArgs"]
# List commands
default:
@just --list
# Choose a command
choose:
@just --choose
# Up the vagrant box
up:
vagrant up
# Up the vagrant box
up-hyperv:
vagrant up --provider=hyperv
# Reload the vagrant box and provision it
reload:
vagrant reload --provision
# Destroy the vagrant box (forcefully)
nuke:
vagrant destroy -f
# Halt the vagrant box
halt:
vagrant halt
# SSH into the vagrant box
ssh:
vagrant ssh
# WinRM into the vagrant box
winrm:
vagrant winrm
# Take a snapshot of the current VM state
snapshot name:
vagrant snapshot save {{name}}
# Restore the VM to a specific snapshot
restore name:
vagrant snapshot restore {{name}}
# List all snapshots for the VM
snapshots:
vagrant snapshot list
# Delete a specific snapshot
snapshot-delete name:
vagrant snapshot delete {{name}}