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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OPSI<br />

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

The file named 'control' holds the product meta data (like the product dependencies).<br />

The files 'preinst' and 'postinst' will be executed before and after the installation. Any<br />

customer extensions might be added here.<br />

4.3.2.1. Create, pack and unpack a new product<br />

The privileges of the group 'pcpatch' are required to create a new product.<br />

In this example the product will be created in the directory '/home/<strong>opsi</strong>products'. The<br />

group 'pcpatch' has to be owner of the directory and the directory permissions are 2770<br />

('set group ID' bit is set for group pcpatch).<br />

Attention: Do not use any country-specific symbols (umlaut), since the actual<br />

country code might vary for different code tables.<br />

Change directory to the product directory and start the creation of the new product with<br />

'newprod'. The next question is for the type of product to create. Choose type<br />

'localboot' for products which should be installable by preloginloader/wInst. Product type<br />

'netboot' is used for products which are activated as a bootimage (like hardware<br />

inventory) and type 'server' is used for products that are just installed on a server.<br />

Figure 12: Choose the product type: localboot<br />

65

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

Saved successfully!

Ooh no, something went wrong!