Change Resetflag from default to Noaction
Change Resetflag from default to Noaction as BMC have to clear the
default reset bios settings flag whenever new BaseTable is received
from BIOS or else BIOS will keep reset the system with default values.
Tested:
Ran unit test cases and manually tested with commands.
When new BaseTable is created, ResetBIOS setting will set the flag to
NoAction.
Signed-off-by: Snehalatha Venkatesh <snehalathax.v@intel.com>
Change-Id: Iea029b1a5a3d97c7f19bc21851972fdc5599cb8d
diff --git a/src/manager.cpp b/src/manager.cpp
index c92205f..0f2103f 100644
--- a/src/manager.cpp
+++ b/src/manager.cpp
@@ -97,6 +97,7 @@
pendingAttributes({});
auto baseTable = Base::baseBIOSTable(value, false);
serialize(*this, biosFile);
+ Base::resetBIOSSettings(Base::ResetFlag::NoAction);
return baseTable;
}