storage: Use ~/.config/libvirt/images for qemu:///session
It doesn't create the annoying ~/VirtualMachines directory, and already has proper labelling.
This commit is contained in:
parent
05db555145
commit
8369c65966
|
@ -82,7 +82,7 @@ class _StorageObject(XMLBuilder):
|
|||
def _get_default_pool_path(conn):
|
||||
path = "/var/lib/libvirt/images"
|
||||
if conn.is_session_uri():
|
||||
path = os.path.expanduser("~/VirtualMachines")
|
||||
path = os.path.expanduser("~/.config/libvirt/images")
|
||||
return path
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue