FreeBSD: Unable to determine distribution

Bug #1815030 reported by do3meli
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

The currently is not so FreeBSD friendly as it always prints the following warnings:

2019-02-07 11:02:02,324 -[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.

Tags: freebsd
do3meli (d-info-e)
tags: added: freebsd
Revision history for this message
Chad Smith (chad.smith) wrote :

+1 on this suggestion. get_linux_distro should be extended to support freebsd.

Changed in cloud-init:
status: New → Triaged
Revision history for this message
Chad Smith (chad.smith) wrote :
Changed in cloud-init:
status: Triaged → Fix Committed
assignee: nobody → do3meli (d-info-e)
Revision history for this message
Chad Smith (chad.smith) wrote : Fixed in cloud-init version 19.4.

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.

Changed in cloud-init:
status: Fix Committed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.