parent
98e4d1b760
commit
58bed7335d
5 changed files with 72 additions and 0 deletions
@ -0,0 +1,34 @@ |
||||
Windows Registry Editor Version 5.00 |
||||
|
||||
{ |
||||
|
||||
my $server = ${'fusioninventory-agent'}{'Server'} || 'https://inventory.firewall-services.com/'; |
||||
my $user = ${'fusioninventory-agent'}{'User'} || $DomainName; |
||||
my $pass = ${'fusioninventory-agent'}{'Password'} || 'secret'; |
||||
|
||||
my $out .=<"EOF"; |
||||
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\FusionInventory-Agent] |
||||
"server"="$server" |
||||
"tag"="$DomainName" |
||||
"user"="$user" |
||||
"password"="$pass" |
||||
"realm"="" |
||||
"ca-cert-file"="" |
||||
"no-ssl-check"="0" |
||||
"proxy"="" |
||||
"rpc-port"="" |
||||
"debug"="1" |
||||
"rpc-trust-localhost"="1" |
||||
"scan-homedirs"="0" |
||||
"basevardir"="C:\\\\Program Files (x86)\\\\FusionInventory-Agent\\\\dumps" |
||||
"share-dir"="C:\\\\Program Files (x86)\\\\FusionInventory-Agent\\\\share" |
||||
"logfile"="C:\\\\Program Files (x86)\\\\FusionInventory-Agent\\\\agent-log.txt" |
||||
"logfile-maxsize"="5" |
||||
|
||||
EOF |
||||
|
||||
$out =~ s/\n/\r\n/g; |
||||
|
||||
$OUT = $out; |
||||
|
||||
} |
@ -0,0 +1,34 @@ |
||||
Windows Registry Editor Version 5.00 |
||||
|
||||
{ |
||||
|
||||
my $server = ${'fusioninventory-agent'}{'Server'} || 'https://inventory.firewall-services.com/'; |
||||
my $user = ${'fusioninventory-agent'}{'User'} || $DomainName; |
||||
my $pass = ${'fusioninventory-agent'}{'Password'} || 'secret'; |
||||
|
||||
my $out .=<"EOF"; |
||||
[HKEY_LOCAL_MACHINE\SOFTWARE\FusionInventory-Agent] |
||||
"server"="$server" |
||||
"tag"="$DomainName" |
||||
"user"="$user" |
||||
"password"="$pass" |
||||
"realm"="" |
||||
"ca-cert-file"="" |
||||
"no-ssl-check"="0" |
||||
"proxy"="" |
||||
"rpc-port"="" |
||||
"debug"="1" |
||||
"rpc-trust-localhost"="1" |
||||
"scan-homedirs"="0" |
||||
"basevardir"="C:\\\\Program Files\\\\FusionInventory-Agent\\\\dumps" |
||||
"share-dir"="C:\\\\Program Files\\\\FusionInventory-Agent\\\\share" |
||||
"logfile"="C:\\\\Program Files\\\\FusionInventory-Agent\\\\agent-log.txt" |
||||
"logfile-maxsize"="5" |
||||
|
||||
EOF |
||||
|
||||
$out =~ s/\n/\r\n/g; |
||||
|
||||
$OUT = $out; |
||||
|
||||
} |
Loading…
Reference in new issue