poscdtool.pl --link --source=/nfs/cd
This command links the CDs on the NFS server to the default distribution directory,
/var/lib/SLEPOS/dist/
.
11.3.3 Mounting the SUSE Linux Enterprise
Point of Service CDs
If you have multiple Point of Services where you want to build images, you can mount
a single distribution directory on each server rather than copying the SUSE Linux En-
terprise Point of Service CDs to each server.
The mount command syntax is as follows:
poscdtool.pl --mount --source=
mount_source
[--dest=
distribution_directory
]
For example, the following command mounts the default distribution directory on an
Point of Service to one on another Administration Server:
poscdtool.pl --mount --source=adminserver1:/hd1
11.3.4 Generating AdminServer.conf or
Distribution.xml
The
AdminServer.conf
and
Distribution.xml
files define the paths to the
distribution directories where you have copied the SUSE Linux Enterprise Point of
Service CDs. KIWI searches these paths to locate the RPM packages required to build
images.
After the copy procedure is completed, POSCopyTool automatically generates the
AdminServer.conf
and
Distribution.xml
files.
If necessary, you can use the following syntax to manually generate
AdminServer
.conf
and
Distribution.xml
with POSCDTool (type the command all on one
line):
poscdtool.pl --generate [--type=conf|xml]
[--source=
distribution_directory]
[--dest=
output_path
]
[--imageclass=sles-i586,sled-i586,...]
Managing Image Source Files
161