We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0dc19d7 + 0f18cb9 commit 9d89c22Copy full SHA for 9d89c22
templates/common/bin/pxe-init.sh
@@ -64,7 +64,9 @@ fi
64
65
# Build an ESP image
66
pushd /var/lib/ironic/httpboot
67
-if [ ! -a "esp.img" ]; then
+if ! command -v dd || ! command -v mkfs.msdos || ! command -v mmd; then
68
+ echo "WARNING: esp.img will not be created because dd/mkfs.msdos/mmd are missing. Please patch the OpenstackVersion to update container images."
69
+elif [ ! -a "esp.img" ]; then
70
dd if=/dev/zero of=esp.img bs=4096 count=1024
71
mkfs.msdos -F 12 -n 'ESP_IMAGE' esp.img
72
0 commit comments