Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-12-16 16:27:17 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-12-16 16:27:17 -0300
commit882d9fa5ec509ccd52413e135b0f613fa7ea7f3b (patch)
treec70c7dd070208a8ff7b4f302e92fccc5c60baa49
parentdceb5a029fa1146d4b8030de9d589e4a258eb80a (diff)
[archiso] update testiso
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-rwxr-xr-xarchiso/testiso10
1 files changed, 5 insertions, 5 deletions
diff --git a/archiso/testiso b/archiso/testiso
index 75bedc9..71e85e1 100755
--- a/archiso/testiso
+++ b/archiso/testiso
@@ -1,6 +1,6 @@
#!/bin/bash
-if [ $# -eq 0 ]; then
+if [[ $# -eq 0 ]]; then
echo "usage: testiso <isofile> [id|ic|sd|sc|vd|vc]"
echo
echo "id boot .iso as IDE disk"
@@ -8,7 +8,7 @@ if [ $# -eq 0 ]; then
echo "sd boot .iso as SCSI disk"
echo "sc boot .iso as SCSI cd-rom"
echo "vd boot .iso as virtio disk"
- echo "vc boot .iso as virtio cd-rom"
+# echo "vc boot .iso as virtio cd-rom"
exit 1
fi
@@ -18,9 +18,9 @@ case "${2}" in
sd) IF="scsi"; MEDIA="disk";;
sc) IF="scsi"; MEDIA="cdrom";;
vd) IF="virtio"; MEDIA="disk";;
- vc) IF="virtio"; MEDIA="cdrom";;
+# vc) IF="virtio"; MEDIA="cdrom";;
*) IF="scsi"; MEDIA="cdrom";;
esac
-echo qemu -m 256 -drive file=${1},if=${IF},media=${MEDIA},boot=on
-qemu -m 256 -drive file=${1},if=${IF},media=${MEDIA},boot=on
+echo qemu-system-x86_64 -m 256 -drive file=${1},if=${IF},media=${MEDIA},boot=on
+qemu-system-x86_64 -m 256 -drive file=${1},if=${IF},media=${MEDIA},boot=on