Skip to main content
Version: 2.0

Linux - Set password with cloud-init scripts

Setting Password on Instance launch - Configuration​

/assets/compute/cloud-init-config.png

Cloud-init Scripts​

#cloud-config
ssh_pwauth: True
chpasswd: { expire: False }
password: YOURPASSWORDHERE