Image objects are typically located in the global container under the default
scDisributionContainer. To add the image to the default
scDisributionContainer use the command: posAdmin.pl --user
cn=admin,o=mycorp,c=us --password secret --base
cn=default,cn=global,o=mycorp,c=us --add --scPosImage
--cn myGraphical --scImageName myTestGraphical
--scPosImageVersion "3.1.4;active" --scDhcpOptionsRemote
/boot/pxelinux.0 --scDhcpOptionsLocal LOCALBOOT
--scImageFile myGraphical_test.i686 --scBsize 8192
• An associated object representing the cash register must exist in the LDAP database.
This scCashRegister object can represent either a specific machine or a
generic machine. The generic object is used if a specific image is not found for the
given machine. In either case, the scCashRegister must have a hardware
subobject like scRamDisk or scHarddisk which specifies where and how the
image should be deployed.
The name of a machine is located in the uploaded hwtype.MAC file under a
HWTYPE entry.
To add a scCashRegister object for a specific machine (with
HWTYPE=cshr4152), use the command: posAdmin.pl --user
cn=admin,o=mycorp,c=us --password secret --base
cn=global,o=mycorp,c=us --add --scCashRegister --cn
cr-test --scCashRegisterName cshr4152 --scPosImageDn
cn=myGraphical,cn=default,cn=global,o=mycorp,c=us (note
the scCashRegisterName name and an image reference according to the pre-
vious example in --scPosImageDn).
When deploying to a harddisk (detected on terminal as /dev/sda device) of our
specific machine, use the command: posAdmin.pl --user
cn=admin,o=mycorp,c=us --password secret --base
cn=cshr4152,cn=global,o=mycorp,c=us --add --scHarddisk
--cn sda --scDevice /dev/sda --scHdSize 9000
--scPartitionsTable "1000 82 x;8000 83 /" (remark: the specific
choice of --cn name is not important)
32
SUSE Linux Enterprise Point of Service Guide
Need help?
Do you have a question about the LINUX ENTERPRISE 11 - SUBSCRIPTION MANAGEMENT TOOL GUIDE 10-02-2009 and is the answer not in the manual?
Questions and answers