]> iEval git - gruntmaster-daemon.git/blame - ex/runvm
Test pipes when running interactive programs before executing them
[gruntmaster-daemon.git] / ex / runvm
CommitLineData
fdb99417 1#!/bin/bash
0f817fa6 2ROOT=.
fdb99417
MG
3
4qemu-system-x86_64 \
5 -enable-kvm -cpu host -m 256MB \
6 -nodefaults -nographic \
0f817fa6
MG
7 -kernel $ROOT/bzImage \
8 -append 'root=/dev/vda console=ttyS0,1200 init=/bin/bash --login' \
fdb99417
MG
9 -drive file=$ROOT/vm.squashfs,if=virtio,readonly \
10 -virtfs local,id=virtfs0,path=.,security_model=none,mount_tag=virtfs \
0f817fa6 11 -serial stdio "$@"
This page took 0.02955 seconds and 4 git commands to generate.