diskimage-builder/elements/ilo/ramdisk-install.d/50-ilo-firmware
Robert Collins 027dcc2dbe Add support for flashing ILO BMC's from ramdisks
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
2014-08-28 17:07:03 +01:00

10 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"