[ovirt-users] cloud-init and user password

Michal Skrivanek michal.skrivanek at redhat.com
Fri Sep 23 11:49:42 UTC 2016


> On 23 Sep 2016, at 13:45, Davide Ferrari <davide at billymob.com> wrote:
> 
> Hello
> 
> I'm using a Centos7 cloud image from built-in ovirt-image-repository and I have some trouble setting an initial password for a given user with cloud-init.
> 
> Basically, it doesn't set any password. Other things work: user is created, ssh key is set (both for the user and root) but no password. This is a problem for me because I want to automatically provision the image with Foreman but the ovirt integration works only with password.
> 
> The cloud-init logs in the VMs doesn't tell anything about password being or not set.
> What's the password format accepted in the GUI? plain text? or salted hash like plain cloud-init config?

it should be plaintext
did you want to configure root or some other user?

once the guest is booted you can get the settings from the attached cdrom in that vm, just mount it and check what does it configure exactly

thanks,
michal

> 
> Thanks
> 
> -- 
> Davide Ferrari
> Senior Systems Engineer
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users




More information about the Users mailing list