Comment 12 for bug 1991261

Revision history for this message
Chad Smith (chad.smith) wrote (last edit ):

And per the schema warning, yes that message is too big to be helpful I think, we can probable distill it a bit more per specific use-cases. the point is the whole 'list' key is actually deprecated in favor of explicit password type definitions.

So instead of:

  chpasswd:
    expire: false
    list:
    - ubuntu:raspberry

cloud-init now wants:
```
  chpasswd:
     expire: false
     users:
      - name: ubuntu
         password: raspberry
         type: text
```

We'll sort the word-smithing a bit but the details are here
https://cloudinit.readthedocs.io/en/latest/topics/modules.html#set-passwords