[fedora-virt] customizing VMM on a per-user basis to use libguestfs?
Cole Robinson
crobinso at redhat.com
Tue Apr 21 17:15:41 UTC 2009
On 04/21/2009 12:10 PM, Robert P. J. Day wrote:
> is there a mechanism for customizing VMM settings on a per-user
> basis? i ask since i'd like to test guestfish and libguestfs on a
> recently-created VM but, by default, new VM images are created in
> /var/lib/libvirt/images, and that directory is not accessible to
> non-root users.
>
> as a non-root user, if i was about to start working with VMs, i'd
> like to be able to invoke "virt-manager" and, *before* creating any
> VMs, set some config options, such as where my images are going to go
> (ideally, in a personal images directory). that would make those
> images accessible to my account.
>
> but if i fire up "virt-manager", i can see "Edit" -> "Preferences"
> but that doesn't allow me that kind of per-user configuration. does
> that kind of configuration even exist? and, with those default
> settings and permissions, how *would* one use libguestfs and guestfish
> as a regular user?
>
Per user configuration is handled by gconf, so if user1 changed a
setting in Preferences, user2 would still have the default.
However, there is no global way yet to change what the 'default' storage
location is. There is a place in the new VM wizard to type in a manual
path to provision (such as your home directory), which would then allow
you to use libguestfs on it.
- Cole
More information about the Fedora-virt
mailing list