[virt-tools-list] [virt-manager PATCH 0/1] virtinst: Use sudo where root permission is needed

Andrew Wong andrew.kw.w at gmail.com
Sat Sep 9 03:49:47 UTC 2017


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.

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




More information about the virt-tools-list mailing list