Closed stephdl closed 1 month ago
QA
We expect the command to initiate the cluster is without error, the create-cluster
command is out of the scope of this bug (we assume the sysadmin will use the UI to create the cluster)
test 1 sudo bash -l
curl https://raw.githubusercontent.com/NethServer/ns8-core/main/core/install.sh > install.sh
become root: sudo bash -l
install the cluster
bash install.sh ghcr.io/nethserver/core:2.8.1-dev.4
test 2 sudo -s
curl https://raw.githubusercontent.com/NethServer/ns8-core/main/core/install.sh > install.sh
become root: sudo -s
install the cluster
bash install.sh ghcr.io/nethserver/core:2.8.1-dev.4
test 3 no regression
curl https://raw.githubusercontent.com/NethServer/ns8-core/main/core/install.sh > install.sh
become root: su -
install the cluster
bash install.sh ghcr.io/nethserver/core:2.8.1-dev.4
sudo bash -l
) -> VERIFIEDsudo -s
) -> VERIFIED
Steps to reproduce
sudo bash -l
curl https://raw.githubusercontent.com/NethServer/ns8-core/main/core/install.sh | bash
Expected behavior
I expect to install and create the cluster
Actual behavior
I have an error
/var/lib/nethserver/node/install-finalize.sh: line 109: runagent: command not found
this is due because when you become root by
sudo bash -l
the path does not include the/usr/local/bin
In the same way, if you usesudo -s
, the paths/usr/local/sbin
and/usr/local/bin
are missingComponents
core 2.8.0
See also
thank @Amygos