Hi.
I want to disable password login using cloud-init. I cloud not find a cloud-init option for that.
I edited my images and enabled password login using guestfish. But in certain cases, I want to disable password login at build time.
I used custom init config file using --cicustom "user=local:snippets/userconfig.yaml" and set the parameter: "lock_passwd: true" but it didn't work (Other options set in the file worked though).
Is there a way to disable password login using cloud-int?
I want to disable password login using cloud-init. I cloud not find a cloud-init option for that.
I edited my images and enabled password login using guestfish. But in certain cases, I want to disable password login at build time.
I used custom init config file using --cicustom "user=local:snippets/userconfig.yaml" and set the parameter: "lock_passwd: true" but it didn't work (Other options set in the file worked though).
Is there a way to disable password login using cloud-int?