[ovirt-users] cloud-init woes w/ templates
Michal Skrivanek
michal.skrivanek at redhat.com
Thu Apr 17 09:40:20 UTC 2014
On Apr 12, 2014, at 15:39 , Andrew Lau <andrew at andrewklau.com> wrote:
> Hi,
>
> Has anyone had any success with cloud-init and templates with ovirt
> 3.4? So far, it seems to be able to configure things like networks
> etc. But when it goes to do with passwords, it must be set again in
> the "run once" or in the "Initial Run" even if "Use already configured
> password" is set.
Hi,
which version you're talking about?
>
> Another thing, why is it only setup to change the root password? By
> default cloud-init will block root, so nearly all images need to be
> modified ie.
> sed -i 's/disable_root: 1/disable_root: 0\nchpasswd: { expire: False
> }/g' /etc/cloud/cloud.cfg
yeah. this has been fixed recently
>
> Otherwise, you'll login and it'll ask you to change your password.
> Defeats the purpose of setting it through cloud-init? I'm also not
> being able to just set an SSH key, it insists a password otherwise the
> key won't get uploaded.
hm, not sure, Shahar?
>
> Finally, templates seem to be lacking validation. Where "Initial Run"
> and "Run Once" will give the red box if you have the wrong syntax
> while templates don't care.
syntax of what?
Thanks,
michal
>
> Thanks,
> Andrew
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
More information about the Users
mailing list