1
0
Fork 0
forked from ahurac/dotfiles

Suppression : argument pour lancer QEMU en VNC dans le script de lancement d'une VM Linux

This commit is contained in:
Hippolyte Chauvin 2023-07-18 09:59:21 +02:00
parent b4a171f178
commit 74c3aa7cdb

View file

@ -2,7 +2,7 @@
name="$(basename "$0")" name="$(basename "$0")"
cd "$(dirname "$(readlink -f "$0")")/.." cd "$(dirname "$(readlink -f "$0")")/.."
exec screen -S "QEMU : ${name}" -d -m qemu-system-x86_64 \ exec screen -S "QEMU : ${name}" -d -m qemu-system-x86_64 \
-monitor stdio -enable-kvm -vnc :1 \ -monitor stdio -enable-kvm \
-cpu host -smp "$(nproc)" \ -cpu host -smp "$(nproc)" \
-m 4G \ -m 4G \
-drive "file=images/$(basename "$0").qcow2,if=virtio" \ -drive "file=images/$(basename "$0").qcow2,if=virtio" \