tags/wpkg-fusioninventory-2.4-0.beta1
parent
c3a8fe8402
commit
b9265428aa
10 changed files with 9 additions and 90 deletions
@ -1,6 +0,0 @@ |
|||||||
#!/usr/bin/perl -w |
|
||||||
use esmith::Build::CreateLinks qw(:all); |
|
||||||
|
|
||||||
templates2events("/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x86.reg", qw(wpkg-update bootstrap-console-save)); |
|
||||||
templates2events("/home/e-smith/files/shares/wpkg/files/settings/fusioninventory/fusioninventory_x64.reg", qw(wpkg-update bootstrap-console-save)); |
|
||||||
|
|
@ -0,0 +1,3 @@ |
|||||||
|
<variable name="FUSINV_USER" value="{${'fusioninventory-agent'}{'User'} || $DomainName}" /> |
||||||
|
<variable name="FUSINV_PASS" value="{${'fusioninventory-agent'}{'Password'} || 'secret'}" /> |
||||||
|
<variable name="FUSINV_SERVER" value="{${'fusioninventory-agent'}{'Server'} || 'https://inventory.firewall-services.com/'}" /> |
@ -1,34 +0,0 @@ |
|||||||
{ |
|
||||||
|
|
||||||
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"; |
|
||||||
Windows Registry Editor Version 5.00 |
|
||||||
|
|
||||||
[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"=- |
|
||||||
"share-dir"=- |
|
||||||
"logfile"=- |
|
||||||
"logfile-maxsize"="5" |
|
||||||
|
|
||||||
EOF |
|
||||||
|
|
||||||
$out =~ s/\n/\r\n/g; |
|
||||||
|
|
||||||
$OUT = $out; |
|
||||||
|
|
||||||
} |
|
@ -1,34 +0,0 @@ |
|||||||
{ |
|
||||||
|
|
||||||
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"; |
|
||||||
Windows Registry Editor Version 5.00 |
|
||||||
|
|
||||||
[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"=- |
|
||||||
"share-dir"=- |
|
||||||
"logfile"=- |
|
||||||
"logfile-maxsize"="5" |
|
||||||
|
|
||||||
EOF |
|
||||||
|
|
||||||
$out =~ s/\n/\r\n/g; |
|
||||||
|
|
||||||
$OUT = $out; |
|
||||||
|
|
||||||
} |
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue