Skip to content
Snippets Groups Projects
Verified Commit d52c57ea authored by David Beniamine's avatar David Beniamine
Browse files

Make glpi install reintrant

parent 9e102ca5
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ dpkg -i glpi.deb ...@@ -5,7 +5,7 @@ dpkg -i glpi.deb
rm glpi.deb rm glpi.deb
apt-get -fy install apt-get -fy install
sed -i 's@#server =.*inventory.php@server = https://glpi.tetras-libre.fr/front/inventory.php@' /etc/glpi-agent/agent.cfg sed -i 's@#server =.*inventory.php@server = https://glpi.tetras-libre.fr/front/inventory.php@' /etc/glpi-agent/agent.cfg
sed -i 's@tag =@tag = tetras-libre@' /etc/glpi-agent/agent.cfg sed -i 's@tag =.*@tag = tetras-libre@' /etc/glpi-agent/agent.cfg
glpi-agent glpi-agent
systemctl restart glpi-agent systemctl restart glpi-agent
systemctl enable glpi-agent systemctl enable glpi-agent
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment