spice : traitement variable d'environnement QEMUSH_BASE

This commit is contained in:
Ahurac 2024-03-08 23:47:48 +01:00
parent c7142146c6
commit 261e4b12be

View file

@ -1,5 +1,8 @@
#!/bin/sh -x #!/bin/sh -x
exec "$QEMUSH_BASE" \ base=$(echo "$QEMUSH_BASE" | cut -d , -f 1)
QEMUSH_BASE=$(echo "$QEMUSH_BASE" | cut -d , -f 2-)
exec "$base" \
-vga qxl \ -vga qxl \
-chardev spicevmc,id=vdagent,debug=0,name=vdagent \ -chardev spicevmc,id=vdagent,debug=0,name=vdagent \
-device virtio-serial \ -device virtio-serial \