Skip to content

network-settings: cleanup MAC Adress and hostname code

Jonas Höppner requested to merge mac-hostname-cleanup into main
  • Allow to 'unset' the mac address and serial number with sconfig serial 0/mac 0.

  • Return N/A for all zero and prefix + zero mac address.

  • Don't write an unset hostname.

  • Add fallback code for hostname:

    • SNE... as set
    • version/modulename
    • trizeps / myon from fuses
  • Reuse more checkcode (some checks have been done in network config only, some only in conf-reader. Try to unify this.

Merge request reports

Loading