Skip to content

Commit

Permalink
cluster-ipmi-remote-access: Add note about BIOS settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Bacon committed Nov 22, 2021
1 parent ad8c7f6 commit f0bd1ce
Showing 1 changed file with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions Common/Sys-scripts/cluster-ipmi-remote-access
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,21 @@ EOM
exit 1
}


##########################################################################
# Function description:
# Pause until user presses return
##########################################################################

pause()
{
local junk

printf "Press return to continue..."
read junk
}


##########################################################################
# Main
##########################################################################
Expand All @@ -27,6 +42,16 @@ fi

auto-root-check $0 "Sets IPMI password"

cat << EOM
Note:
For security reasons, you may need to manually enable remote IPMI in the
BIOS settings in addition to running $(basename $0).
EOM
pause

while [ 0`printf '%s' "$1" | cut -c 1,1` = 0'-' ]; do
if [ $1 = '-f' ]; then
shift
Expand All @@ -41,10 +66,6 @@ while [ 0`printf '%s' "$1" | cut -c 1,1` = 0'-' ]; do
fi
done

if [ $# -lt 1 ]; then
usage $0
fi

# FIXME: Factor out redundant node selection code from here and
# cluster-ipmi-power-on
while [ $# -ge 1 ]; do
Expand Down

0 comments on commit f0bd1ce

Please sign in to comment.