Overwrite the log for each VM launch

This commit is contained in:
Martin Wimpress 2021-09-28 15:51:06 +01:00
parent 4f68841daa
commit c755e10405
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3

View file

@ -555,7 +555,7 @@ function vm_boot() {
echo "#!/usr/bin/env bash" > "${VMDIR}/${VMNAME}.sh"
echo "${QEMU}" "${args[@]}" >> "${VMDIR}/${VMNAME}.sh"
${QEMU} "${args[@]}" >> "${VMDIR}/${VMNAME}.log" &
${QEMU} "${args[@]}" > "${VMDIR}/${VMNAME}.log" &
echo " - PID: ${!}"
# If output is 'none' then SPICE was requested.