Add a event script to copy the global cert bundle to fusioninventory settings dir, so it can be deployed on clients
parent
38b7e587f5
commit
3daede5bb4
2 changed files with 10 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||||||
|
#!/usr/bin/perl -w |
||||||
|
|
||||||
|
use esmith::Build::CreateLinks qw(:all); |
||||||
|
|
||||||
|
event_link("wpkg-fusioninventory-cacert", "wpkg-update", "30"); |
||||||
|
event_link("wpkg-fusioninventory-cacert", "bootstrap-console-save", "80"); |
||||||
|
|
@ -0,0 +1,3 @@ |
|||||||
|
#!/bin/sh |
||||||
|
|
||||||
|
/bin/cp -f /etc/pki/tls/certs/ca-bundle.crt /home/e-smith/files/shares/wpkg/files/settings/fusioninventory/cacert.pem |
Loading…
Reference in new issue