[virt-tools-list] [virt-manager PATCH 0/1] virtinst: Use sudo where root permission is needed
Pavel Hrdina
phrdina at redhat.com
Sat Sep 9 09:29:59 UTC 2017
On Fri, Sep 08, 2017 at 11:49:47PM -0400, Andrew Wong wrote:
> Hello,
>
> I have a small request that I hope is reasonable. For testing VMs, I like to
> install VMs as non-root. However, if I want to install from a location that
> requires mounting, then installing becomes a bit of a hassle. I'd have to
> manually mount the location with sudo or root, then pass the mount point into
> "--location". It'd be nice of virt-install could elevated to root where
> necessary. Basically, something like the attached patch.
Hi, thanks for the patch. This is interesting idea but I'm not sure
whether it's a good idea. You can easily run the whole virt-install
command using sudo.
Pavel
> Are there other places where root is needed? I did a quick search, and
> mount/umount seem to be the only places that need root.
>
> Andrew Wong (1):
> virtinst: Use sudo where root permission is needed
>
> virtinst/urlfetcher.py | 6 +++---
> virtinst/util.py | 9 ++++++++-
> 2 files changed, 11 insertions(+), 4 deletions(-)
>
> --
> 2.14.1
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20170909/ee06e5a2/attachment.sig>
More information about the virt-tools-list
mailing list