Included agent_name as agent_alias in Dockerfile

This commit is contained in:
Kike 2019-07-29 10:04:10 +02:00
parent 045c39d307
commit 525d328b67
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ sed -i "s/^remote_config.*$/remote_config $REMOTE_CONF/g" /etc/pandora/pandora_a
sed -i "s/^group.*$/group $AGROUP/g" /etc/pandora/pandora_agent.conf\n \
sed -i "s/^debug.*$/debug $DEBUG/g" /etc/pandora/pandora_agent.conf\n \
sed -i "s/^#agent_name.*$/agent_name $NAME/g" /etc/pandora/pandora_agent.conf\n \
sed -i "s/^#agent_alias.*$/agent_alias $NAME/g" /etc/pandora/pandora_agent.conf\n \
if [ $TIMEZONE != "" ]; then\n \
\tln -sfn /usr/share/zoneinfo/$TIMEZONE /etc/localtime\n \
fi\n \