027dcc2dbe
This is more than a bit hard to test, requiring as it does an actual iLO BMC, so sadly I have no tests :(. HP Hardware really wants to be running latest firmware, and its commonly agreed that one place where it can be sanely applied is in the deploy environment, so this is my long threatened implementation of that. Change-Id: I3117a250d0d0eb8ee33eb4b15c837485a5cbf476
11 lines
110 B
Bash
Executable File
11 lines
110 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
if [ ! -d /tmp/ilo ]; then
|
|
exit 0
|
|
fi
|
|
|
|
mv /tmp/ilo "$TMP_MOUNT_PATH"
|