Fixes and new desktop starter synchronization system.

This commit is contained in:
Andreas B. Mundt 2024-01-20 14:38:02 +01:00
parent 350f4c2646
commit 4ce97f5486
6 changed files with 27 additions and 17 deletions

View file

@ -156,6 +156,7 @@ export XDG_CONFIG_HOME="/tmp/${UID}/.config"
if ! virsh --connect="${QEMU}" list | grep "${VM_NAME}-clone"; then
echo "VM not yet running."
sudo /usr/local/bin/desktop-sync
check_images
if [[ "${NEWCLONE}" = 1 ]] || [[ ! -f "${VM_DIR}/${VM_NAME}-clone.qcow2" ]]; then
create_clone "${VM_NAME}"