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.

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

-n do not compress<br />

-F archive format [tar|cpio], default: cpio<br />

-h follow symlinks<br />

-I incremental package<br />

-i custom name (add custom files)<br />

-c custom name (custom only)<br />

-t temp dir<br />

The packet then can be installed on any <strong>opsi</strong> server with the command<br />

'<strong>opsi</strong>inst '.<br />

Also '<strong>opsi</strong>inst' has some optional parameters:<br />

# <strong>opsi</strong>inst -h<br />

Usage: <strong>opsi</strong>inst [options] <br />

Install an <strong>opsi</strong> package.<br />

Options:<br />

-v show version information<br />

-h this help text<br />

-q quiet, don't ask any questions<br />

-f force installation<br />

-d enable debug mode<br />

-l use a file for logging<br />

-i user interface [snack|text]<br />

Without additional parameters '<strong>opsi</strong>inst' will start in interactive modus, so you can e.g.<br />

modify the default product properties for your server. If you would like to install a<br />

product without any questions, start '<strong>opsi</strong>inst' with the options '-q -f'.<br />

4.3.2.2. Create client specific <strong>opsi</strong> packages<br />

Sometimes a product needs to have different installation options for different servers,<br />

maybe regarding the license agreement or because of different customization options.<br />

To handle this, you will have to save the specific data files in separate subdirectories<br />

before packing the package. When packing, the -i option makeproductfile -i<br />

selects which of the custom subdirectories will be included into the packet.<br />

Example:<br />

The product 'softprod' shall be created in three versions. There is a base version and<br />

two other versions with additional software, one for 'CompanyX' and the other for<br />

'CustomerY'. Therefore in the directory '/home/<strong>opsi</strong>product/softprod/'<br />

73

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

Saved successfully!

Ooh no, something went wrong!