]> git.ozlabs.org Git - petitboot/commit
discover: Avoid writing network overrides to NVRAM
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 6 Sep 2016 03:30:30 +0000 (13:30 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 8 Sep 2016 04:26:27 +0000 (14:26 +1000)
commit662129afba2d344d692a9dbfd430c91eff4f281d
tree04a6ab48f0c0c575ee2a72b8b2958510a3750d2b
parent82b4c9d7ecbfada62295620a6082caf1b9860ff6
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 <sam@mendozajonas.com>
discover/ipmi.c
discover/platform-powerpc.c
lib/pb-config/pb-config.c
lib/pb-protocol/pb-protocol.c
lib/types/types.h