diff options
author | Javier <dev.git@javispedro.com> | 2022-01-29 17:01:28 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-01-29 23:07:56 +0100 |
commit | 54b754ce040d5549d5c58428d2b9c095601e98dc (patch) | |
tree | 1b35f1dca54088b967fe5587ec43b98cf72e3825 /scripts/try.sh | |
download | vmusic-54b754ce040d5549d5c58428d2b9c095601e98dc.tar.gz vmusic-54b754ce040d5549d5c58428d2b9c095601e98dc.zip |
initial import
Diffstat (limited to 'scripts/try.sh')
-rwxr-xr-x | scripts/try.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/try.sh b/scripts/try.sh new file mode 100755 index 0000000..0f88c1d --- /dev/null +++ b/scripts/try.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e + +vm="$1" + +if [[ -z "$vm" ]]; then + echo "Usage: $0 <VM>" + exit 1 +fi + +source scripts/logenv.sh + +exec /usr/lib/virtualbox/VirtualBoxVM --startvm "$vm" |