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

Set only required tasks

parent 8758f646
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ refip=$(ip a | awk '/inet 10\./{print $2}' | sed 's@/[0-9][0-9]$@@')
if [ "$glpiver" != "$VERSION" ]; then
cd /tmp
wget -O glpi-agent.pl https://github.com/glpi-project/glpi-agent/releases/download/$VERSION/glpi-agent-$VERSION-linux-installer.pl
perl /tmp/glpi-agent.pl --server=https://glpi.grenoble.fr/plugins/glpiinventory/ --tag=$refip --install --service --tasks=inventoy,deploy,inventory,NetDiscovery,NetInventory --type=all --runnow
perl /tmp/glpi-agent.pl --server=https://glpi.grenoble.fr/plugins/glpiinventory/ --tag=$refip --install --service --tasks=inventory,NetDiscovery,NetInventory --type=all --runnow
rm glpi-agent.pl
glpi-agent
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment