network_manager_main: add force-sync-mac option

For the platform has modulized flash (ex: Bletchley), the BMC flash is
not embedded on the board where the MAC address stored. When the
original board get replaced by service, BMC won't sync MAC address
again from new board because the first boot file is existed,and it
cause BMC continue using old MAC address form old board.

Add a force-sync-mac option to force check MAC address regardless first
boot file is exist or not.

Tested on Bletchley, MAC address updated after replacing chassis
controller board.

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I37785f25b3ce0d95d0dd7d9e2f1ad3cd731b83c7
3 files changed