Skip to content

Instantly share code, notes, and snippets.

View squimrel's full-sized avatar

squimrel squimrel

  • UTC
View GitHub Profile
@squimrel
squimrel / proof-of-concept.sh
Last active June 27, 2017 12:40
Proof-of-concept of approach #1
#!/bin/sh
# This is a proof of concept. It was not designed to be beautiful, portable or
# anything like that.
readonly SOURCE="${1}"
if [ -z "${SOURCE}" ]; then
echo "Usage: ${0} <iso image> [/dev/sdX|vm name]"
exit 1
fi
DEVICE=""
# Name of the virtual machine used for manual testing.