Last change
on this file since 1477 was 1436, checked in by Bruno Cornec, 13 years ago |
- Upload the 0.9.6 version of the PUSK (ProLiant USB Setup Key)
|
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
965 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 | # This script deploys a very minimal and basic iLO configuration.
|
---|
4 | # The XML config file is on the USB key (data_files/ilo.dat) and is applied as
|
---|
5 | # it is, no substitution or customization done by any script.
|
---|
6 | #
|
---|
7 | # October 2011
|
---|
8 |
|
---|
9 | clear
|
---|
10 | echo "*** Deploying iLO Configuration only ***"
|
---|
11 |
|
---|
12 | [ -f /ssstk/ssstk-functions ] && . /ssstk/ssstk-functions
|
---|
13 |
|
---|
14 | # Load the drivers and mount the USB key where the settings will be saved
|
---|
15 | ssstk_init
|
---|
16 |
|
---|
17 | # Check if an iLO interface is present and deploy its configuration
|
---|
18 | $IFHW_CMD ${HWDISC_FILE} "$ALLBOARDS" "PCI:Integrated Lights-Out" 2> /dev/null
|
---|
19 | if [ $? = 0 ] ; then
|
---|
20 | modprobe hpilo
|
---|
21 | if [ -f ${ILO_MINIMAL_FILE} ]; then
|
---|
22 | hponcfg -f ${ILO_MINIMAL_FILE}
|
---|
23 | if [ $? = 0 ] ; then
|
---|
24 | echo "Integrated Lights-Out Minimal Configuration APPLIED"
|
---|
25 | else
|
---|
26 | echo "Integrated Lights-Out Minimal Configuration FAILED"
|
---|
27 | fi
|
---|
28 | else
|
---|
29 | echo "Cannot find $ILO_MINIMAL_FILE"
|
---|
30 | fi
|
---|
31 | fi
|
---|
32 |
|
---|
33 | # Copy the log files if any and unmount the key
|
---|
34 | ssstk_stop
|
---|
Note:
See
TracBrowser
for help on using the repository browser.