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@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/virt-tools-list
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list