Description of problem: When creating a VM with `--unattended` option and `--admin-password-file` it would make sense to allow passing the desired user name. Currently the user name is the current host user name as pointed out by the documentation but this behavior is very limiting and in our case (cockpit-machines) it is blocking privileged users to create user account on VMs. So, in cockpit when the connected user has super user privileges we always run the script containing virt-install as root, which results on us not being able to set a non root user for the VM. In other words, due to cockpit's internals combined with this auto fetching of the user name that virt-install is doing, Cockpit Machines will need to disable user account creation for unattended installations because it does not work as expected. Version-Release number of selected component (if applicable): 2.2.1
Katerina, This has been implemented some time ago, as part of https://github.com/virt-manager/virt-manager/commit/cdcec1fb03155c41958987faaa0073b756b10c6c, but there was no release since then. The commit mentioned above introduces the `user-login` option. Would you mind to give it a try with git master and let us know whether it fits cockpit-machines needs?
Fabiano it looks good, looking forward to next release then.
FEDORA-2020-656e86b662 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-656e86b662
FEDORA-2020-656e86b662 has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-656e86b662` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-656e86b662 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-c30055ffe4 has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-c30055ffe4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c30055ffe4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-c30055ffe4 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.