Trixies uses tmpfs for /tmp, so let's use /var/tmp/vm for temporary VM files
This commit is contained in:
parent
f4dffc06fc
commit
5998c5900e
5 changed files with 12 additions and 6 deletions
|
@ -295,7 +295,7 @@ if [[ "${PERSISTENT}" == 1 ]] && [[ ! -f "${VM_DIR_PERSISTENT}/${VM_NAME}.qcow2"
|
|||
fi
|
||||
|
||||
# because virsh has problems with long pathnames, using diffent configdir
|
||||
export XDG_CONFIG_HOME="/tmp/${UID}/.config"
|
||||
export XDG_CONFIG_HOME="/var/tmp/vm/${UID}/.config"
|
||||
|
||||
if ! virsh --connect="${QEMU}" list | grep "${VM_NAME}-clone"; then
|
||||
echo "VM not yet running."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue