Install script errors
-
Server
- FOG Version: 1.4.3
- OS: 16.04 Server LTS
Client
- Service Version:
- OS:
Description
I am getting syntax errors when running the latest version of the install fog script.
Command:
sudo sh installfog.sh --help
62 : Syntax error: word unexpected (expecting “in”)
The following also failed:
sudo bash installfog.sh --help
25: syntax error near unexpected token ‘$’{/r’’
I imagine this script is supposed to be able to run as is? So I am assuming I am just missing something. I wanted to double check before I start tinkering with it
-
Try
sudo ./installfog.sh --help
Working fine on Centos 7 with FOG 1.4.4
I’m wondering if Ubuntu updated Bash to be a bit different, hmmm.
-
Why are you using .sh, installfog.sh is a bash script. This is where the errors are coming in.
Try:
if you must:
sudo bash installfog.sh --help
-
@Quazz said in Install script errors:
I’m wondering if Ubuntu updated Bash to be a bit different, hmmm.
They didn’t. The installer is tested on Ubuntu every day, you can see the test results here: http://perpetuum.io:20080/fog_distro_check/installer_dashboard.html