You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
212 B
Bash

#!/bin/sh
set -eu
arch=x86_64
kernel=/boot/vmlinuz-linux
initrd_dir="$1"
shift 1
exec qemu-system-"$arch" -m 1G -kernel "$kernel" -initrd "$initrd_dir/initrd.img" -nographic -append console=ttyS0,115200n1 "$@"