Controller install script does not parse all CLI args properly

Controller install script does not parse all CLI args properly

Controller install script does not parse all CLI args properly
Controller install script does not parse all CLI args properly
a week ago - last edited a week ago
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
a week ago - last edited a week ago

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
a week ago - last edited a week ago

Hi  @trfore 

 

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

Recommended Solution
  0  
  0  
#2
Options