#!/bin/env sh grub_config=$(cat < "$2/boot/grub/grub.cfg" sha256sum "$2/vmstupid" > "$2/boot/hashfile" grub-mkrescue -o $1 $2 } gen_iso_file "$1" "$2"