mirror of https://gitlab.com/octospacc/Configs.git
21 lines
438 B
Bash
Executable File
21 lines
438 B
Bash
Executable File
#!/bin/sh
|
|
cd "$( dirname "$( realpath "$0" )" )"
|
|
while true; do
|
|
|
|
qemu-system-x86_64 \
|
|
-accel kvm \
|
|
-cpu host \
|
|
-smp 2 \
|
|
-m 700M \
|
|
-hda ./Lubuntu2022NonProxied.qcow2 \
|
|
-device e1000,netdev=net0 \
|
|
-netdev user,id=net0,hostfwd=tcp::33891-:3389,hostfwd=udp::33891-:3389,hostfwd=tcp::50991-:5900,hostfwd=udp::50991-:5900 \
|
|
-display none \
|
|
;
|
|
# -cdrom ./lubuntu-22.04.2-desktop-amd64.iso \
|
|
# -vnc :10 \
|
|
# -display none \
|
|
|
|
sleep 500
|
|
done
|