On Tue, 2 Jan 2018 at 14:10 Eitan Raviv <eraviv@redhat.com> wrote:
Roy,
What do you mean  'ignored my password changes'?

I set the root pwd of my VM using cloud-init but I wasn't able to login.

what is a flow that reproduces your problem?

- Import Centos 7 base image from ovirt-glance as a template and create a VM from it.
- Run-Once the VM, set root user/pass using cloud-init in the dialog.
- Try to login with your new user/pass

Even before the VM OS boots you can `virsh -r dumpxml ID | grep -i payload`
 
On Tue, Jan 2, 2018 at 1:59 PM, Roy Golan <rgolan@redhat.com> wrote:
I had problems bootstrapping my glance images, cloud init seems to ignore my password changes and then I realized I'm missing the cdrom in the domxml.

To solve it I disabled the DomainXML feature(engine preparing the domxml, not vdsm) and it started working.

Before I open a bug can anyone try to reproduce on 4.2?

The workaround with engine-config:

echo DomainXML | engine-config -s DomainXML=false --cver=4.2 -p /dev/stdin

_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel



--
Eitan Raviv
IRC: erav (#ovirt #vdsm #devel #rhev-dev)