aboutsummaryrefslogtreecommitdiff
path: root/bin/vm (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-04re "s|echo \"\\\$|printf '%s\\\n' \"\$|g"EuAndreh1-5/+5
Replace all cases where `echo` was given a variable as its first argument, even on cases where we always know what the variable's content look like.
2023-07-29bin/*: Add matching parenthesis to case clausesEuAndreh1-11/+11
2023-03-29bin/vm: sponge(1) config file for more atomic operationsEuAndreh1-1/+1
2023-03-29bin/vm: Allow VM .qcow2 images to be symlinksEuAndreh1-1/+1
2023-03-27bin/vm: Allow ".snapshot" file to existEuAndreh1-1/+1
2023-03-23bin/vm: Report if VM is running as a snapshot in "status" actionEuAndreh1-1/+11
2023-03-23bin/vm: Set user to "vm"EuAndreh1-0/+1
2023-03-23bin/vm: Add -S option of help string exampleEuAndreh1-1/+1
2023-03-23Makefile: Strip .qcow2 from image namesEuAndreh1-1/+1
2023-03-23bin/vm: Allow it to get QCoW2 images from remoteEuAndreh1-0/+18
2023-03-21bin/vm: Do not fail when VM is already up or downEuAndreh1-2/+2
2023-02-17bin/: Use explicit "--" separator for assert-arg usagesEuAndreh1-3/+3
In order to prevent legitimate cases to fail as errors, such as: NUM='-10' eval "$(assert-arg "$NUM" '-n NUM')" To prevent assert-arg(1) from treating "-10" as the options "-1 and -0, they need to be put after the "--" separator. This way, all usages of assert-arg(1) that had its first argument as a variable were adapted, and the usage and examples of assert-arg itself were updated to encourage this best practice.
2022-12-06bin/vm: Fix help string indentationEuAndreh1-3/+3
2022-12-03bin/vm: Actually implement dry-run for the "down" actionEuAndreh1-3/+9
2022-12-03bin/vm: Place logs under $XDG_LOG_HOMEEuAndreh1-2/+2
2022-12-03bin/vm: Make snapshot the defaultEuAndreh1-3/+3
2022-12-03bin/vm: Disable ShellCheck warningEuAndreh1-0/+1
2022-12-03bin/vm: Ignore known_hosts on SSHing into vmEuAndreh1-0/+3
2022-12-03bin/vm: Support portmapping, custom memory and partial custom imageEuAndreh1-20/+68
2022-12-03bin/vm: Bail out when given a bad prefixEuAndreh1-0/+5
2022-12-03bin/vm: Improve help string documentationEuAndreh1-7/+20
2022-12-03bin/vm: Support -n for dry-run and "-- --flags" forwarding to QEMUEuAndreh1-18/+51
2022-12-02bin/vm: v2EuAndreh1-56/+113
- support -S flag for toggling snapshot mode; - support -G flag for toggling GUI mode; - dynamically discover available images; - dynamically find available ports to map to 22.
2022-10-10bin/vm: Fix name of PID file when creating itEuAndreh1-1/+1
2022-10-10bin/vm: Add VM management scriptEuAndreh1-0/+176
etc/guix/system.scm: Include myself in the "kvm" group so that the QEMU commands can be given the "--enable-kvm" flag; etc/ssh/config: Include the generated SSH config file