Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Here is snippet I'm using for user creation:

users:
  - name: admin
    groups: wheel
    lock-passwd: false
    passwd: $6$8clcR2yc$mRhXO8AZIgphwWhzyYzdqa39IMgxy4udN9zmSHdJH6Xfz19Z1qBYFqgV.5eFbod5VK3Izy/ytr4qPXJNLWzl00
    ssh-authorized-keys:
      - ssh-rsa A...

Here is snippet I'm using for user creation:

users:
  - name: admin
    groups: wheel
    lock-passwd: false
    passwd: $6$8clcR2yc$mRhXO8AZIgphwWhzyYzdqa39IMgxy4udN9zmSHdJH6Xfz19Z1qBYFqgV.5eFbod5VK3Izy/ytr4qPXJNLWzl00
    ssh-authorized-keys:
      - ssh-rsa A...

Base on your snippet U ain't passing ssh-key as list though, I'm not sure