Red Hat SATELLITE 5.3.0 RELEASE NOTES Technické informace Strana 40

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 199
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 39
ilocommand --ilourl //${LOGIN}:${MGMT2_ILO_PW}@${MGMT2_ILO} set
/map1/oemhp_vm1/cddr1
oemhp_image=http://irish.lab.bos.redhat.com/pub/projects/cloud/resources/wa/rhcf.iso
ilocommand --ilourl //${LOGIN}:${MGMT2_ILO_PW}@${MGMT2_ILO} vm cdrom set connect
while [[ ! `ilocommand -i //${LOGIN}:${MGMT2_ILO_PW}@${MGMT2_ILO} set
/system1/bootconfig1/bootsource1 bootorder=1 | grep status=0` ]]; do sleep 20; done
ilocommand --ilourl //${LOGIN}:${MGMT2_ILO_PW}@${MGMT2_ILO} power on
sleep 600
while [[ ! `ilocommand -i //${LOGIN}:${MGMT2_ILO_PW}@${MGMT2_ILO} set
/system1/bootconfig1/bootsource3 bootorder=1 | grep status=0` ]] ; do sleep 20 ; done
2. The system installs.
6.2 Create Satellite System
6.2.1 Prepare Host
As mentioned in Section 6.1.2 , the final action of the kickstart is to configure a script that is
called at first boot. This script's actions are executed in the following order:
1. The customized rc.local file mounts the CDROM
[...]
/sbin/mount -o ro /dev/scd0 /root/distro
[...]
2. instpyCmds.sh - installs python based expect commands
#!/bin/bash
#
# This script installs the CLI command libraries for ILO, Storage Array,
# Virtual Console, and Onboard Administrator
#If an argument was passed, change to that directory
if [[ $# -gt 0 ]]
then
cd $1
fi
#find the rpm file names
SAFILE=`ls salib-*.noarch.rpm`
VCMFILE=`ls vcmlib-*.noarch.rpm`
ILOFILE=`ls ilolib-*.noarch.rpm`
OAFILE=`ls oalib-*.noarch.rpm`
#calculate the number of RPMs for each tool
SANUM=`echo $SAFILE | wc -w`
www.redhat.com 40
Zobrazit stránku 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 198 199

Komentáře k této Příručce

Žádné komentáře