From 4b13f3667c793e564d010b24905f2c0f70bd8189 Mon Sep 17 00:00:00 2001 From: Henrik Danielsson Date: Sat, 21 Mar 2020 01:20:04 +0100 Subject: [PATCH 1/2] Fixed typo in config example. (#8) Added missing closing quote. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7edb0a4..2c7b348 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ snap connect qemu-virgil:removable-media ``` iso="/media/$USER/Quickemu/ubuntu/focal-desktop-amd64.iso" -disk_img="/media/$USER/Quickemu/ubuntu/focal-desktop-amd64.qcow2 +disk_img="/media/$USER/Quickemu/ubuntu/focal-desktop-amd64.qcow2" disk=128G ``` @@ -99,4 +99,4 @@ You can also pass optional parameters - [x] Improve snapshot management - [ ] Create desktop launcher for a VM - [x] Fix Virgil 3D on EFI boot - - [x] Get QEMU `-audiodev` working for audio input, something like: \ No newline at end of file + - [x] Get QEMU `-audiodev` working for audio input, something like: From cfb21db57be5f01417691b6b9e037b8355209be4 Mon Sep 17 00:00:00 2001 From: Henrik Danielsson Date: Sat, 21 Mar 2020 01:23:11 +0100 Subject: [PATCH 2/2] Fix parsing RAM amount on non-English systems. (#9) Export LC_ALL=C to force free and friends back to English. --- quickemu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickemu b/quickemu index 2bf91c7..0322fe3 100755 --- a/quickemu +++ b/quickemu @@ -1,4 +1,5 @@ #!/usr/bin/env bash +export LC_ALL=C function disk_delete() { if [ -e "${disk_img}" ]; then @@ -352,4 +353,4 @@ if [ -n "${SNAPSHOT_ACTION}" ]; then esac fi -vm_boot \ No newline at end of file +vm_boot