how to make install-config.yaml to support passwordhash instead of sshkey

Latest response

i've been trying to make install-config.yaml to support login through ssh using standard user/pass without sshkey...

if i'm using ign yaml file, it supposed to be like this :

variant: fcos
version: 1.0.0
passwd:
users:
- name: core
password_hash: "hashpass"
systemd:
units:
- name: sshd.service
dropins:
- name: allowpasswordauth.conf
contents: |
[Service]
Environment=OPTIONS='-oPasswordAuthentication=yes'
storage:
files:
- path: /etc/hostname
overwrite: true
mode: 0644
contents:
inline: fcos-svr

but i couldn't find a way how to put this into install-config.yaml ?

any suggestion ?

Responses