From 662129afba2d344d692a9dbfd430c91eff4f281d Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Tue, 6 Sep 2016 13:30:30 +1000 Subject: discover: Avoid writing network overrides to NVRAM Explicitly keep track of whether the current interface config was set by an IPMI network override, and avoid overwriting any saved config unless the override was marked persistent. Signed-off-by: Samuel Mendoza-Jonas --- discover/ipmi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'discover/ipmi.c') diff --git a/discover/ipmi.c b/discover/ipmi.c index 38423b2..2aaf114 100644 --- a/discover/ipmi.c +++ b/discover/ipmi.c @@ -309,6 +309,7 @@ int parse_ipmi_interface_override(struct config *config, uint8_t *buf, i += ipsize; } + ifconf->override = true; pb_log("Applying IPMI network interface override\n"); /* Replace any existing interface config */ -- cgit v1.2.1