summary refs log tree commit diff
path: root/dvm
diff options
context:
space:
mode:
authorskylar <me@casper>2026-11-16 18:35:00 -0800
committerskylar <me@casper>2026-11-16 18:35:00 -0800
commit936f6fb199f4a5fd7b81edde2eba97102dace9c5 (patch)
treee9e7b44f6328b7b749422e35ab7e65036a5e4c61 /dvm
parentb9f046b9b63ac8e17672df6f7e22d73200b808fb (diff)
Prepare for public release: README, MIT licenseHEAD main
Rewrite the README for outside users (requirements, install, how it works, isolation limits, configuration, troubleshooting), add an MIT LICENSE and SPDX header, and ignore .claude/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'dvm')
-rwxr-xr-xdvm4
1 files changed, 3 insertions, 1 deletions
diff --git a/dvm b/dvm
index b0cfe3c..ae04146 100755
--- a/dvm
+++ b/dvm
@@ -16,6 +16,8 @@
# VM powers off. Environment: DVM_MEM (4G), DVM_CPUS (4), DVM_DISK (20G),
# DVM_MIC=1 to give the VM the host microphone, DVM_NOTIFY=0 to skip
# desktop notifications when VMs start and stop.
+#
+# SPDX-License-Identifier: MIT
set -euo pipefail
DATA=${DVM_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/dvm}
@@ -419,6 +421,6 @@ case ${1:-} in
template) shift; cmd_template "$@" ;;
update) shift; cmd_update ;;
run) shift; cmd_run "$@" ;;
- -h|--help) sed -n '2,/^set -e/{/^#/s/^# \{0,1\}//p}' "$0" ;;
+ -h|--help) sed -n '2,/^set -e/{/SPDX/d;/^#/s/^# \{0,1\}//p}' "$0" ;;
*) cmd_run "$@" ;;
esac