From 8369c65966ef22bab4efe80bdc58cb47c53939e4 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Fri, 24 Apr 2015 21:01:55 -0400 Subject: [PATCH] storage: Use ~/.config/libvirt/images for qemu:///session It doesn't create the annoying ~/VirtualMachines directory, and already has proper labelling. --- virtinst/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtinst/storage.py b/virtinst/storage.py index 6028e4b1..f49ec917 100644 --- a/virtinst/storage.py +++ b/virtinst/storage.py @@ -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