Force vminfo.service to run on every vm start

This commit is contained in:
Raphael Dannecker 2025-09-29 12:35:23 +02:00
parent 51d4e34a07
commit 191e953bb0

View file

@ -365,7 +365,7 @@ if ! virsh --connect="${QEMU}" list | grep "${VM_NAME}-clone"; then
# Create VMInfo Json file # Create VMInfo Json file
#( umask 027; ./vm-create-vminfo > "${VMINFO_DIR}/.vminfo.json" ) #( umask 027; ./vm-create-vminfo > "${VMINFO_DIR}/.vminfo.json" )
# Start vminfo.timer # Start vminfo.timer
systemctl --user start vminfo.timer systemctl --user restart vminfo.timer
uuid=$(openssl rand -hex 16) uuid=$(openssl rand -hex 16)
uuid="${uuid:0:8}-${uuid:8:4}-${uuid:12:4}-${uuid:16:4}-${uuid:20:12}" uuid="${uuid:0:8}-${uuid:8:4}-${uuid:12:4}-${uuid:16:4}-${uuid:20:12}"