Do not chmod +x pandora_server_installer.
Running `chmod +x pandora_server_installer &&
./pandora_server_installer` inside a container causes an error when
using Docker's aufs storage driver.
(cherry picked from commit dc97c29198
)
This commit is contained in:
parent
43993e1a14
commit
25df1acfff
|
@ -38,7 +38,7 @@ fi
|
||||||
#Create the pandora user to run the anyterd, mainly
|
#Create the pandora user to run the anyterd, mainly
|
||||||
/usr/sbin/useradd -d /home/pandora -s /bin/false -M -g 0 pandora
|
/usr/sbin/useradd -d /home/pandora -s /bin/false -M -g 0 pandora
|
||||||
|
|
||||||
cd /tmp/pandorafms/pandora_server && chmod +x pandora_server_installer && sync && ./pandora_server_installer --install
|
cd /tmp/pandorafms/pandora_server && ./pandora_server_installer --install
|
||||||
|
|
||||||
#Configure the Pandora FMS Server to connect to the database
|
#Configure the Pandora FMS Server to connect to the database
|
||||||
sed -i "s/dbname pandora/dbname $PANDORA_DB_NAME/g" /etc/pandora/pandora_server.conf
|
sed -i "s/dbname pandora/dbname $PANDORA_DB_NAME/g" /etc/pandora/pandora_server.conf
|
||||||
|
|
Loading…
Reference in New Issue