Expected behavior
A clear and concise description of what you expected to happen.
Or the installer should throw an error telling the OS is not supported (or that ClearLinux is only supported) or it should run just fine and create me the requested iso I want.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Clear Linux OS Version: [swupd info] N/A
Installer Version [clr-installer -v] 2.7.11
Platform: [hardware infomation] WSL2 with Ubuntu
Additional context
Add any other context about the problem here.
Describe the bug A clear and concise description of what the bug is.
I tried to use the clr-installer on my Ubuntu 22.04 distro to create a custom installation iso of ClearLinux but at https://github.com/clearlinux/clr-installer/blob/a0fef5fe53bc9fd9314bebba238aea8ed76a21a0/clr-installer/main.go#L524 it's querying for the ClearLinux version, but I am not running ClearLinux so it fails as regex at https://github.com/clearlinux/clr-installer/blob/a0fef5fe53bc9fd9314bebba238aea8ed76a21a0/utils/utils.go#L44 does not support Ubuntu's format of the
/usr/lib/os-release
, which is:The difference is in the
VERSION_ID
as it's quoted on Ubuntu, at least on mine, and it's just numeric on ClearLinux's version.To Reproduce Steps to reproduce the behavior:
clr-installer
from source on Ubuntuclr-installer --config live-server.yaml
Expected behavior A clear and concise description of what you expected to happen. Or the installer should throw an error telling the OS is not supported (or that ClearLinux is only supported) or it should run just fine and create me the requested iso I want.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Add any other context about the problem here.