rhel fails to install packages
Bug #1709872 reported by
James Lawrence
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Undecided
|
Unassigned |
Bug Description
cloudinit/
adding import os to the file fixes the issue.
cloud-init --version
cloud-init 0.7.9
To post a comment you must log in.
Hi James! Thanks for taking the time to file a bug.
I took a look at the current cloudinit/ distros/ rhel.py [1] and I do not see any commands attempting to use os. git blame shows this code was refactored at the end of last year.
I think if you use a newer version of cloud-init it should work! If you are interested in trying, you can give cloud-init from COPR a shot [2]. Otherwise, you may need to get the version of cloud-init updated in your image.
If you have additional data or disagree feel free to respond with more details. Thanks!
[1] https:/ /github. com/cloud- init/cloud- init/blob/ master/ cloudinit/ distros/ rhel.py# L188 /copr.fedorainf racloud. org/coprs/ g/cloud- init/cloud- init/
[2] https:/