about summary refs log tree commit diff stats
path: root/tools/scripts/runvm
diff options
context:
space:
mode:
Diffstat (limited to 'tools/scripts/runvm')
-rw-r--r--tools/scripts/runvm/c12-dvd15
-rw-r--r--tools/scripts/runvm/profile/crux7
-rw-r--r--tools/scripts/runvm/runvm.sh26
3 files changed, 0 insertions, 48 deletions
diff --git a/tools/scripts/runvm/c12-dvd b/tools/scripts/runvm/c12-dvd
deleted file mode 100644
index 9cbf201..0000000
--- a/tools/scripts/runvm/c12-dvd
+++ /dev/null
@@ -1,15 +0,0 @@
-export QEMU_AUDIO_DRV=alsa
-
-memory=1024
-
-boot=c
-
-iso=iso/devuan_jessie_1.0.0_amd64_CD.iso
-
-image=img/c12-dvd.qcow2
-
-tap="tap2"
-
-mac="54:60:be:ef:5c:72"
-
-other="-soundhw hda -vga std -display sdl -usb -device usb-ehci  -device usb-host,vendorid=0x13d3,productid=0x5652"
diff --git a/tools/scripts/runvm/profile/crux b/tools/scripts/runvm/profile/crux
deleted file mode 100644
index 672b80d..0000000
--- a/tools/scripts/runvm/profile/crux
+++ /dev/null
@@ -1,7 +0,0 @@
-mac="54:60:be:ef:5c:64"
-memory=1024
-boot=$2
-tap="tap4"
-iso=iso/crux-3.4.iso
-image=img/c14.qcow2
-other="-vga std -display sdl"
diff --git a/tools/scripts/runvm/runvm.sh b/tools/scripts/runvm/runvm.sh
deleted file mode 100644
index 21cd097..0000000
--- a/tools/scripts/runvm/runvm.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-function rmac_addr (){
-printf '54:60:BE:EF:%02X:%02X\n' $((RANDOM%256)) $((RANDOM%256))
-}
-
-source profile/$1
-
-#mac=$(rmac_addr)
-#memory=1024
-#boot=d
-#tap="tap1"
-#iso=iso/crux-3.4.iso
-#image=img/crux-standard.qcow2
-#other="-soundhw hda -vga std -display sdl"
-
-qemu-system-x86_64 \
-    -enable-kvm \
-    -m ${memory} \
-    -boot ${boot} \
-    -cdrom ${iso} \
-    -hda ${image} \
-    -device e1000,netdev=t0,mac=${mac} \
-    -netdev tap,id=t0,ifname=${tap},script=no,downscript=no \
-    ${other} \
-    &