Virt-manager forces the creation of qemu+ssh and xen+ssh URI's to include the root user.
Steps to Reproduce:
1. File, Open Connection
2. Choose Remote tunnel over SSH
3. Enter a hostname
Actual results:
The URI generated is 'qemu+ssh://root@hostname/system'
Expected results:
The URI generated should be 'qemu+ssh://hostname/system'
Additional info:
libvirt does not require root access and should frown upon using the root account to access libvirt if anything. A username should not be hardcoded, or at the least should detect if a username is provided in the entry field and use that instead.
Description of problem:
Virt-manager forces the creation of qemu+ssh and xen+ssh URI's to include the root user.
Steps to Reproduce:
1. File, Open Connection
2. Choose Remote tunnel over SSH
3. Enter a hostname
Actual results:
The URI generated is 'qemu+ssh: //root@ hostname/ system'
Expected results:
The URI generated should be 'qemu+ssh: //hostname/ system'
Additional info:
libvirt does not require root access and should frown upon using the root account to access libvirt if anything. A username should not be hardcoded, or at the least should detect if a username is provided in the entry field and use that instead.
See src/virtManager /connect. py:260