Comment 0 for bug 1855170

Revision history for this message
Mina Galić (minagalic) wrote :

In triaging https://bugs.launchpad.net/cloud-init/+bug/1854594 i found that system_info can actively change which distro class is picked:

system_info:
    default_user:
        lock_passwd: true
        name: root
        shell: /bin/bash
    distro: ubuntu

will use distro/__init__.py's create_user() and hence lock_passwd() methods!

If this is a feature, it should be documented.
If this is a bug, it needs fixing.