Public bug reported:

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.

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1855170

Title:
  system_info can change the distro

Status in cloud-init:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1855170/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to