Set ApplyTime policy to OnReset
Changes:
- Set ApplyTime attribute to "OnReset" to prevent BMC taking
auto reset when activation completes.
Change-Id: I21077bd4b7cb0155f2091239a736cdfb4c20ed4b
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/code_update/bmc_code_update.robot b/extended/code_update/bmc_code_update.robot
index 7a92e00..bdcfdd5 100644
--- a/extended/code_update/bmc_code_update.robot
+++ b/extended/code_update/bmc_code_update.robot
@@ -73,6 +73,7 @@
[Teardown] REST BMC Code Update Teardown
Run Keyword And Ignore Error List Installed Images BMC
+ Run Keyword And Ignore Error Set ApplyTime policy=OnReset
${image_version}= Get Version Tar ${IMAGE_FILE_PATH}
${bmc_release_info}= Get BMC Release Info