Skip to content

Commit 03222e3

Browse files
committed
fix: Add --full-inventory-postpone option support to linux installers
Closes #792
1 parent 1e84490 commit 03222e3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

contrib/unix/glpi-agent-appimage-hook

+2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ GetOptions(
7575
'debug+',
7676
'delaytime=i',
7777
'force',
78+
'full-inventory-postpone=i',
7879
'html',
7980
'json',
8081
'lazy',
@@ -590,6 +591,7 @@ glpi-agent-linux-installer.AppImage [options]
590591
--json save the inventory as JSON (false)
591592
--force always send data to server (false)
592593
--backend-collect-timeout=TIME timeout for inventory modules execution (30)
594+
--full-inventory-postpone=NUM set number of possible full inventory postpone (14)
593595
594596
=head2 Remote inventory task specific options
595597

contrib/unix/installer/Getopt.pm

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ my @options = (
1919
'no-question|Q',
2020
'extract=s',
2121
'force',
22+
'full-inventory-postpone=i',
2223
'help|h',
2324
'install',
2425
'list',
@@ -128,6 +129,7 @@ glpi-agent-linux-installer [options]
128129
--scan-profiles set to scan user profiles (false)
129130
--backend-collect-timeout=TIME set timeout for inventory modules execution (30)
130131
-t --tag=TAG configure tag to define in inventories
132+
--full-inventory-postpone=NUM set number of possible full inventory postpone (14)
131133
132134
RemoteInventory specific options:
133135
--remote=REMOTE[,REMOTE]... list of remotes for remoteinventory task

0 commit comments

Comments
 (0)