Switch to transient service unit. Socket-triggering fails for now.
This commit is contained in:
parent
8aca770c40
commit
cb2ed82715
4 changed files with 38 additions and 22 deletions
|
@ -96,7 +96,7 @@ create-clone() {
|
|||
# and actually rename the vm (this also updates part of the storage path):
|
||||
sed -i "s/${VM_NAME}/${VM_NAME}-clone/" "${VM_XML}"
|
||||
# set virtiofs-Socket
|
||||
sed -i "s:VIRTIOFSSOCKET:/run/virtiofs/${VM_NAME}-clone.sock:" "${VM_XML}"
|
||||
sed -i "s:VIRTIOFSSOCKET:/run/user/${UID}/virtiofs-${VM_NAME}.sock:" "${VM_XML}"
|
||||
}
|
||||
|
||||
QEMU='qemu:///session'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue