wip
This commit is contained in:
12
justfile
12
justfile
@@ -36,3 +36,15 @@ iso:
|
||||
# garbage collect old generations
|
||||
clean:
|
||||
sudo nix-collect-garbage $(nix eval --raw -f ./nix.nix nix.gc.options)
|
||||
|
||||
# build sandbox VM image
|
||||
sandbox-build:
|
||||
nixos-rebuild build-image --image-variant qemu --flake .#sandbox
|
||||
|
||||
# run sandbox VM
|
||||
sandbox-run *ARGS:
|
||||
bash dist/run.sh $(find -L result -name '*.qcow2' | head -1) {{ARGS}}
|
||||
|
||||
# ssh into running sandbox
|
||||
sandbox-ssh:
|
||||
ssh -A -p 2222 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null gordaina@localhost
|
||||
|
||||
Reference in New Issue
Block a user