Novell SLRS 8 Admin Manual page 115

Table of Contents

Advertisement

– name
The image name indicates the base name of the image. It is au-
tomatically expanded using the version number and the date. The
version number is extracted from the directory in which the de-
scription files for this image are located.
– timezone
The time zone. The possible time zones are located in the directory
/usr/share/zoneinfo. For the image itself, only one time zone each
is required. For this reason, the relative path to the time zone to
use in the image is indicated after the timezone key, for example,
Europe/Berlin. The imageBuilder uses this information to extract
the corresponding time zone from the timezone package and to
store it as /etc/localtime in the image.
– imagetype
Determines the type of the image. The value for this optional pa-
rameter is either diskful or diskless. If imagetype is not specified,
the image is built with the original setup description. If diskful is
set, all the necessary packages needed to handle the image on a
hard disk will be included in the setup description. If diskless is
set, all those packages not needed will be removed from the setup
description.
In addition to the above mentioned keys, it is also possible to enter other
information in the Key:Value format. All values entered in config file are
stored in a file called .profile before the execution of the scripts in the
script directory. The file is created in the root of the installed image and
can then be sourced from any script using the following instruction:
test -f /.profile && . /.profile
The parameters of the config file are then available as variables in the
script and can be processed appropriately. The following entries are also
possible:
– usbdrivers
Contains a comma-separated list of file names. The file names are
interpreted as USB driver names and correspondingly captured if
they are contained in the kernel tree.
– netdrivers
Contains a comma-separated list of file names. Every file is indi-
cated relative to the directory /lib/modules/ Version /kernel/drivers/net.
The names are interpreted as network drivers and captured if they
are contained in the kernel tree.
11.3 Creating a New Image Description Tree
115

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux retail solution 8

Table of Contents