Use a service for virtiofs for better control.
This commit is contained in:
parent
51cb0a2804
commit
7fd6c76996
4 changed files with 24 additions and 25 deletions
|
@ -40,4 +40,4 @@ sed -i "s:VMIMAGEDIR:${VM_DIR}:" "${VM_XML}"
|
|||
sed -i "s/${VM_NAME}/${VM_NAME}-clone/" "${VM_XML}"
|
||||
|
||||
# set virtiofs-Socket
|
||||
sed -i "s:VIRTIOFSSOCKET:${XDG_RUNTIME_DIR}/virtiofs/${VM_NAME}-clone.sock:" "${VM_XML}"
|
||||
sed -i "s:VIRTIOFSSOCKET:/run/virtiofsd/${VM_NAME}-clone.sock:" "${VM_XML}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue