FreeBSD: Unable to determine distribution
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| cloud-init |
Fix Released
|
Undecided
|
do3meli | ||
Bug Description
The util.py currently is not so FreeBSD friendly as it always prints the following warnings:
2019年02月07日 11:02:02,324 - util.py[WARNING]: Unable to determine distribution, template expansion may have unexpected results
This is obviously getting printed for each stage and most likely due to the fact that the get_linux_distro() function is getting called for FreeBSD.
We might should change that function so it will also handle the FreeBSD case and not fail. I did not further trace this back so it might be that it should not even call the get_linux_distro() and use another method as it is not really a Linux.
+1 on this suggestion. get_linux_distro should be extended to support freebsd.
Upstream commit landed https:/
This bug is believed to be fixed in cloud-init in version 19.4. If this is still a problem for you, please make a comment and set the state back to New
Thank you.
Tracked in Github Issues as https:/