Added: installation & start scripts
This commit is contained in:
commit
bfd464f058
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -xe
|
||||||
|
|
||||||
|
ISO_PATH="$1"
|
||||||
|
QCOW2_IMAGE="$2"
|
||||||
|
|
||||||
|
qemu-img create -f qcow2 "$QCOW2_IMAGE" 20G
|
||||||
|
qemu-system-x86_64 -enable-kvm \
|
||||||
|
-m 4096 \
|
||||||
|
-cdrom "$ISO_PATH" \
|
||||||
|
-hda "$QCOW2_IMAGE" \
|
||||||
|
-boot d
|
Loading…
Reference in New Issue
Block a user