Comment 11 for bug 1879530

Revision history for this message
Ian Johnson (anonymouse67) wrote :

With this user-data and meta-data like this:

#cloud-config
users:
  - default
  - name: user1
    sudo: ALL=(ALL) NOPASSWD:ALL
    lock_passwd: false
    passwd: $6$rounds=4096$ftDwPSSVP0Jq9$4hXIcusbcZMxbSnfv8D/vp/bdzgVAds9qGcFjeBvv1Ths9mLiNPKAxW8/1zOtGLPKsEcorUOzl16hn9jxswDz0

instance-id: iid-local01
local-hostname: cloudimg

I get the first log after inserting the USB drive and rebooting the device. Then if I change the user-data and meta-data on the drive to this:

#cloud-config
users:
  - default
  - name: user2
    sudo: ALL=(ALL) NOPASSWD:ALL
    lock_passwd: false
    passwd: $6$rounds=4096$ftDwPSSVP0Jq9$4hXIcusbcZMxbSnfv8D/vp/bdzgVAds9qGcFjeBvv1Ths9mLiNPKAxW8/1zOtGLPKsEcorUOzl16hn9jxswDz0

instance-id: iid-local02
local-hostname: cloudimg

and reboot again I get the second log. These are both from /var/log/cloud-init.log on the system.