Controller install script does not parse all CLI args properly

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Controller install script does not parse all CLI args properly

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Controller install script does not parse all CLI args properly
Controller install script does not parse all CLI args properly
2025-03-22 18:10:33 - last edited 2025-03-24 09:16:45
Hardware Version:
Firmware Version: v5.15.20.16

If you attempt to pass the '-y' argument to the install.sh script provided with the latest tarfile release v5.15.20.16, the script will exit and show you the help message. I believe this is due to how CLI args are being parsed on line 220.

 

Here is a quick fix using 'optargs': https://github.com/trfore/omada-install-script/blob/main/install.sh

 

The script is not fully tested, I am working on testing the clustering features.

  0      
  0      
#1
Options
1 Accepted Solution
Re:Controller install script does not parse all CLI args properly-Solution
2025-03-24 09:16:02 - last edited 2025-03-24 09:16:45

Hi  @trfore 

 

You may try to replace -y with yes|sudo ./install.sh

Recommended Solution
  0  
  0  
#2
Options
1 Reply
Re:Controller install script does not parse all CLI args properly-Solution
2025-03-24 09:16:02 - last edited 2025-03-24 09:16:45

Hi  @trfore 

 

You may try to replace -y with yes|sudo ./install.sh

Recommended Solution
  0  
  0  
#2
Options