The install script (https://raw.githubusercontent.com/soltecsis/fwcloud-installer/main/fwcloud-installer.sh) doesn't properly detect RHEL 9 servers. When you run it, you receive the error:
The problem is caused by the
Specifically, this doesn't work:
Instead it should be:
To support any number of spaces at the beginning of the line.
RHEL 7 reports:
RHEL 8 reports:
RHEL 9 reports:
Other than that, FWCloud installed just fine on RHEL 9 and looks to be working great.
Thanks,
Jeremy
Your Linux distribution () is not supported.
The problem is caused by the
hostnamectl
detection of the Operating System line in the script. You're grepping for that term with two spaces before it, but on RHEL 9, it's the start of the line.Specifically, this doesn't work:
OS=`hostnamectl | grep "^ Operating System: " | awk -F": " '{print $2}'`
Instead it should be:
OS=`hostnamectl | grep "^ *Operating System: " | awk -F": " '{print $2}'`
To support any number of spaces at the beginning of the line.
RHEL 7 reports:
Operating System: Red Hat Enterprise Linux Server 7.9 (Maipo)
RHEL 8 reports:
Operating System: Red Hat Enterprise Linux 8.7 (Ootpa)
RHEL 9 reports:
Operating System: Red Hat Enterprise Linux 9.1 (Plow)
Other than that, FWCloud installed just fine on RHEL 9 and looks to be working great.
Thanks,
Jeremy