Added option to delete old GUARD file before a PNOR update
Used Initiate Host PowerOff to make sure the host is off.
Change-Id: I194253aaf52d3af1fe76961fae77cd98fc7320bb
Signed-off-by: Charles Paul Hofer <Charles.Hofer@ibm.com>
diff --git a/tools/generate_argumentfile.sh b/tools/generate_argumentfile.sh
index 3316500..0556e7c 100755
--- a/tools/generate_argumentfile.sh
+++ b/tools/generate_argumentfile.sh
@@ -31,4 +31,5 @@
echo "--variable BMC_IMAGE_FILE_PATH:$BMC_IMAGE_FILE_PATH" >> $ARG_FILE
echo "--variable BAD_IMAGES_DIR_PATH:$BAD_IMAGES_DIR_PATH" >> $ARG_FILE
echo "--variable DELETE_OLD_PNOR_IMAGES:$DELETE_OLD_PNOR_IMAGES" >> $ARG_FILE
+echo "--variable DELETE_OLD_GUARD_FILE:$DLETE_OLD_GUARD_FILE" >> $ARG_FILE
echo "--variable LAST_KNOWN_GOOD_VERSION:$LAST_KNOWN_GOOD_VERSION" >> $ARG_FILE