A bug was introduced with #286. Although the os_detect function was only used once, the variable using the output was used multiple times and the network config breaks on some distros because of the new variable format.
It went from being "${variable}" to "${variable1} ${variable2}" which is checked in several other functions other than the one that sets the NETCFG_TYPE, which was the only one updated.
The change now keeps the old format and uses the alternative detection ID_LIKE if the ID is not among the supported ones.
A bug was introduced with #286. Although the
os_detect
function was only used once, the variable using the output was used multiple times and the network config breaks on some distros because of the new variable format.It went from being "${variable}" to "${variable1} ${variable2}" which is checked in several other functions other than the one that sets the NETCFG_TYPE, which was the only one updated.
The change now keeps the old format and uses the alternative detection ID_LIKE if the ID is not among the supported ones.