[PVE-User] With cloud-init some bug?
Wolfgang Bumiller
w.bumiller at proxmox.com
Fri Mar 23 11:39:55 CET 2018
On Fri, Mar 23, 2018 at 11:07:01AM +0100, Wolfgang Bumiller wrote:
> On Fri, Mar 23, 2018 at 05:51:17PM +0800, lyt_yudi wrote:
> >
> >
> > > 在 2018年3月23日,下午5:00,lyt_yudi <lyt_yudi at icloud.com> 写道:
> > >
> > > But, the cipassword for centos user is still not set!
> >
> > Sorry , my fault! The cipassword can set! It’s work with cloud-init-18.1!
>
> I just tried a fresh centos 7 installation. Curiously the password did
> end up in /etc/shadow but didn't work.
Right, that version of cloud-init doesn't support pre-hashed passwords,
so you need to manually add the plaintext password to the vm config.
Setting it over the API doesn't support plaintext passwords.
How did you install the newer cloud-init versions btw.?
More information about the pve-user
mailing list