← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1999042] Re: In openEuler, distro.osfamily is incorrect

 

This bug is believed to be fixed in cloud-init in version 23.1. If this
is still a problem for you, please make a comment and set the state back
to New

Thank you.

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
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/1999042

Title:
  In openEuler, distro.osfamily is incorrect

Status in cloud-init:
  Fix Released

Bug description:
  Reproduction code:

  import copy
  from cloudinit import distros, helpers, settings

  system_info = copy.deepcopy(settings.CFG_BUILTIN["system_info"])
  system_info["distro"] = "openEuler"
  paths = helpers.Paths(system_info["paths"])
  distro_cls = distros.fetch("openEuler")
  distro = distro_cls("openEuler", system_info, paths)
  print(distro.osfamily)

  The output is: redhat,we expect the output to be "openEuler"

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



References