Installer: On CentOS 5.7 scripts aborts after autodetecting network address
Steps to reproduce
Steps to reproduce:
1. Download the installer and execute install.sh
2. after the SVN checkout some more configuration needs to be done, but the script has bad substituton errors and executes with providing a wrong success message (see code snippet)
Merged into 1.4.x with rev 13071.
Committed to trunk at revision 12853. Please reopen if the issues keep happening.
There were several errors here:
1- The error in functions.sh was because the script was using syntax used in bash 4, while the CentOS releases use an earlier version. A workaround has been used.
2- The error with sed ("Can't read /opt/matterhorn/felix/bin/matterhorn_init_d.sh") happened because the init.d script no longer is where it used to be in the source code. Its location has been updated.