blob: 25d97c97719e3588b00619582a00b1f5b73c9b38 [file] [log] [blame]
#!/bin/bash
# Copyright 2022 Go Authors All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Start macOS VM from installed disk image. Changes written back to disk image.
if [[ $# != 2 ]]; then
echo "Usage: $0 <disk-image.qcow2> <OSK value>"
exit 1
fi
DISK=$1
OSK=$2
PORT=1
args=(
"$DISK"
"$OSK"
"$PORT"
)
$HOME/qemu.sh "${args[@]}"