Skip to content

opsi.orgheader image

opsi.org
Views
opsi wiki page >> Opsi Server Installation >>

Rollout Preloginloader via shellscript and a Domaincontroller

Document Actions
last edited 3 years ago by frenzel
*** WORKS ONLY UNDER OPSI V2 ****
*** USE IT AT YOUR OWN RISK ***

Before you start you WILL NEED to download "winexe" from
Samba 4. Download the last "Precompiled version (linked 
statically)" from: http://eol.ovh.org/winexe/ and copy it 
into your systempath.

The file "checkhostresolve.sh" is called by 
"domain_distribute.sh" and should copied into the same 
folder.

Let´s call the Preloginloader PLL :-)

Use this two shellscripts to trigger the installation on 
maybe hundreds of windowsclients directly from your 
depotserver or any other linux-bash. Supposed you have a 
Domain (even a Windows Domaincontroller) running, you have 
to fill in your domainname, adminuser and his password into
"domaindistribute.sh" .

After some necessary changes in 
"/opt/pcbin/install/preloginloader/files/opsi/cfg/" and the
replacement of 
"/opt/pcbin/install/preloginloader/files/opsi/preloginloader.ins"
with the adapted one, you´re ready to start distributing 
the PLL to all your domainclients.

Use "./domain_distribute.sh --help" for a short 
introduction

In doubt have a acute look into the code.

You criticism and approvements are welcome!

Joern 

file: http://www.opsi.org/opsi_wiki/RolloutPreloginloaderViaShellscriptAndADomaincontroller/domain_distribute.tgz