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 either represent a specific machine or a
generic machine. The generic object is used if a specific image is not found for the
given machine. In both cases, the
scCashRegister
must have a hardware sub-
object 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 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 image reference 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 /
"
When deploying to a ramdisk of our specific machine, use the command:
posAdmin.pl --user cn=admin,o=
mycorp
,c=
us
--password
70
SUSE Linux Enterprise Point of Service Guide