ovirt-web-ui icon indicating copy to clipboard operation
ovirt-web-ui copied to clipboard

cloud-init linux set password

Open prstaniforth opened this issue 3 years ago • 4 comments

Description of problem [include screenshots and browser console logs]:

When creating a VM and using cloud-init there is no way to set root password or create user for linux or BSD VMs only Windows.

VM Portal version number:1.7.1

oVirt version number:4.4.8.5-1.el8

Browser and version:Google Chrome Version 93.0.4577.82

Steps to Reproduce:

  1. Create new VM
  2. select linux operating system
  3. select cloud-init

Actual results: hostname and ssh key section

Expected results: method of creating user and setting root password Additional info:

prstaniforth avatar Sep 23 '21 11:09 prstaniforth

Screenshot from 2021-09-23 12-35-45

prstaniforth avatar Sep 23 '21 11:09 prstaniforth

@sjd78 any reason you remember for avoiding authentication setting (user,password) for cloud-init?

sgratch avatar Oct 20 '21 16:10 sgratch

@sjd78 any reason you remember for avoiding authentication setting (user,password) for cloud-init?

I don't remember any specific reasons other than perhaps those were reported as the most commonly used field. I see the user name and password fields in the rest api (http://ovirt.github.io/ovirt-engine-api-model/master/#types/initialization) fields, so shouldn't be difficult to add it.

sjd78 avatar Oct 20 '21 23:10 sjd78

So those fields should be added for cloud-init as well. It needed to be added to both create vm and edit vm dialogs.

@prstaniforth you are most welcomed to contribute to the web-ui project and implement this if it's urgently needed for you. It will be great and we can help you if needed. Thanks.

sgratch avatar Nov 04 '21 13:11 sgratch