06.03.2013 Views

opsi Version 3.3.1 - opsi Download - uib

opsi Version 3.3.1 - opsi Download - uib

opsi Version 3.3.1 - opsi Download - uib

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4. Localboot products: automatic software distribution with <strong>opsi</strong><br />

4.1.3.1. Usage of the <strong>opsi</strong>-deploy-preloginloader<br />

The <strong>opsi</strong>-deploy-preloginloader script installs the <strong>opsi</strong>-preloginloader direct from the<br />

<strong>opsi</strong> depot server on the clients. Requirements for the clients are:<br />

● an open C$ share<br />

● an open admin$ share<br />

● an administrative account<br />

The script creates the client information on the server and copies the installation files,<br />

the configuration information and the pckey to the client and starts the installation on the<br />

client.<br />

With the <strong>opsi</strong>-deploy-preloginloader script you can batch install a list of clients. The<br />

script itself is located in /opt/pcbin/install/preloginloader.<br />

Attention: During installation the client reboots without notice!<br />

bonifax:/home/<strong>uib</strong>/oertel# cd /opt/pcbin/install/preloginloader<br />

bonifax:/opt/pcbin/install/preloginloader# ./<strong>opsi</strong>-deploy-preloginloader -h<br />

Usage: <strong>opsi</strong>-deploy-preloginloader [options] [host]...<br />

Deploy <strong>opsi</strong> preloginloader to the specified clients.<br />

The c$ and admin$ must be accessible on every client.<br />

Options:<br />

-h show this help text<br />

-V show version information<br />

-v increase verbosity (can be used multiple times)<br />

-u username for authentication (default: Administrator)<br />

-p password for authentication<br />

-f file containing list of clients (one hostname per line)<br />

4.1.3.2. Usage of service_setup.cmd<br />

Also in /opt/pcbin/install/preloginloader located is the script service_setup.cmd. This<br />

can be started with administrative privileges from the client side. The script connects to<br />

the <strong>opsi</strong>-webservice to create the server side client information and to get the pckey.<br />

The connect takes the user/password combination registered in the config.ini. If the<br />

connect fails, a login window pops up to fill in service URL, user and password. The<br />

provided user has to be member of the group '<strong>opsi</strong>admin'.<br />

39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!