Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion templates/common/bin/pxe-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ fi

# Build an ESP image
pushd /var/lib/ironic/httpboot
if [ ! -a "esp.img" ]; then
if ! command -v dd || ! command -v mkfs.msdos || ! command -v mmd; then
echo "WARNING: esp.img will not be created because dd/mkfs.msdos/mmd are missing. Please patch the OpenstackVersion to update container images."
elif [ ! -a "esp.img" ]; then
dd if=/dev/zero of=esp.img bs=4096 count=1024
mkfs.msdos -F 12 -n 'ESP_IMAGE' esp.img

Expand Down