summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-07-22 20:29:18 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-07-22 20:29:18 -0300
commit831264205036424a0264222b732ad2cab7ed85ed (patch)
treec3fce8401f5c388ceefda0fc251fe056efa09ca4
parenta1424446a181a81dfd6433085fb64970882dac3d (diff)
downloadarchiso32-831264205036424a0264222b732ad2cab7ed85ed.tar.xz
[archiso] Remove testiso script
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-rwxr-xr-xarchiso/testiso26
1 files changed, 0 insertions, 26 deletions
diff --git a/archiso/testiso b/archiso/testiso
deleted file mode 100755
index 71e85e1..0000000
--- a/archiso/testiso
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-if [[ $# -eq 0 ]]; then
- echo "usage: testiso <isofile> [id|ic|sd|sc|vd|vc]"
- echo
- echo "id boot .iso as IDE disk"
- echo "ic boot .iso as IDE cd-rom"
- 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"
- exit 1
-fi
-
-case "${2}" in
- id) IF="ide"; MEDIA="disk";;
- ic) IF="ide"; MEDIA="cdrom";;
- sd) IF="scsi"; MEDIA="disk";;
- sc) IF="scsi"; MEDIA="cdrom";;
- vd) IF="virtio"; MEDIA="disk";;
-# vc) IF="virtio"; MEDIA="cdrom";;
- *) IF="scsi"; MEDIA="cdrom";;
-esac
-
-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