diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-04-14 10:08:09 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-04-14 10:08:09 +0300 |
commit | 5949152f13c14bc6997995e8b469353fd9cdb042 (patch) | |
tree | b0ecba6c75695809361932dec3d4d8dbc3cbed46 /etc/library.sh | |
parent | 47f4c75391bc0ef8c687958f050ddc117613773a (diff) |
disable QEMU graphics mode in launch-qemu
Diffstat (limited to 'etc/library.sh')
-rwxr-xr-x | etc/library.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/library.sh b/etc/library.sh index a9a4bc94..8cf97600 100755 --- a/etc/library.sh +++ b/etc/library.sh @@ -48,6 +48,7 @@ function launch_qemu() test -f $1 || { echo "Image $IMG not found"; return 1; } test -d qemu-raspbian-network || git clone https://github.com/nachoparker/qemu-raspbian-network.git sed -i '30s/NO_NETWORK=1/NO_NETWORK=0/' qemu-raspbian-network/qemu-pi.sh + sed -i '35s/NO_GRAPHIC=0/NO_GRAPHIC=1/' qemu-raspbian-network/qemu-pi.sh echo "Starting QEMU image $IMG" ( cd qemu-raspbian-network && sudo ./qemu-pi.sh ../$IMG 2>/dev/null ) } |