In oirder to set a hashed pqassword, run this command and enter your paaaword when prompted:
mkpasswd --method=SHA-512
$6$JhSQSLFN2/bd6u5N$BHAfXwewZ4aqNvtaYxFWfWq8BFU.uYvJc0nHulEZfbWkw3YLKM.1Aql5DHnz0FsTitZUZ8xn1EzxfQLDJin.B0
#cloud-config
users:
- default
- name: devin
passwd: "$6$JhSQSLFN2/bd6u5N$BHAfXwewZ4aqNvtaYxFWfWq8BFU.uYvJc0nHulEZfbWkw3YLKM.1Aql5DHnz0FsTitZUZ8xn1EzxfQLDJin.B0"
shell: /bin/bash
lock_passwd: false
ssh_pwauth: true
chpasswd: { expire: false }
sudo: ALL=(ALL) NOPASSWD:ALL
groups: users, admin, sudo
ssh_authorized_keys:
- "ssh-rsa key goes here"
autoinstall:
version: 1
identity:
username: devin
password: "$6$JhSQSLFN2/bd6u5N$BHAfXwewZ4aqNvtaYxFWfWq8BFU.uYvJc0nHulEZfbWkw3YLKM.1Aql5DHnz0FsTitZUZ8xn1EzxfQLDJin.B0"
refresh-installer:
update: yes