Fix OpenFaaS Edge install script for RHEL-based systems.#379
Fix OpenFaaS Edge install script for RHEL-based systems.#379alexellis merged 2 commits intoopenfaas:masterfrom
Conversation
This change removes the check-update command. This command is not required and caused the script to exit early if packages are not up to date. In addition DNF is now used to install packages. DNF is the successor of YUM on the latest RHEL-based systems. Tested on Rocky Linux 8 and 9. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
|
Thank you for your contribution. unfortunately, one or more of your commits are missing the required "Signed-off-by:" statement. Signing off is part of the Developer Certificate of Origin (DCO) which is used by this project. Read the DCO and project contributing guide carefully, and amend your commits using the git CLI. Note that this does not require any cryptography, keys or special steps to be taken. 💡 Shall we fix this?This will only take a few moments. First, clone your fork and checkout this branch using the git CLI. Next, set up your real name and email address:
Finally, run one of these commands to add the "Signed-off-by" line to your commits. If you only have one commit so far then run: Check that the message has been added properly by running "git log". |
On RHEL systems the installation path of faasd, /usr/local/bin, is not in the sudo PATH by default. Use the full path to the faasd binary in any printed instruction to work around this. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
Description
This change removes the check-update command. This comand is not required and caused the script to exit early if packages are not up to date.
In addition DNF is now used to install packages. DNF is the successor of YUM on the latest RHEL-based systems.
Motivation and Context
This change fixes an issue with the install script on RHEL-based systems.
How Has This Been Tested?
The script has been verified on Rocky Linux 8 and 9.
Types of changes
Checklist:
Commits:
git commit -sfor the Developer Certificate of Origin (DCO)Code:
Docs: