Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[platform] Add Support For Environment Variable File #5010

Merged

Commits on Jul 27, 2020

  1. [platform] Add Support For Environment Variable

    This PR adds the ability to read environment file from /etc/sonic.
    the file contains immutable SONiC config attributes such as platform,
    hwsku, version, device_type. The aim is to minimize calls being made
    into sonic-cfggen during boot time.
    
    singed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
    tahmed-dev committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    d613590 View commit details
    Browse the repository at this point in the history
  2. review comments

    tahmed-dev committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    462d607 View commit details
    Browse the repository at this point in the history
  3. fix build error

    tahmed-dev committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    6dd6ff4 View commit details
    Browse the repository at this point in the history
  4. review/offline comments:

    1. move sonic-environment relocation from union-mount to rc.local
    2. remove SONIC_HOSTNAME envvar
    tahmed-dev committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    1ed0981 View commit details
    Browse the repository at this point in the history