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

Create a shadow ZTP data json file accessible to non-root user #13

Merged

Commits on Apr 8, 2020

  1. Create a shadow ZTP data json file accessible to non-root user

    To allow non-root user to view status information, a shadow file for the current
    ztp_data.json is created. The shadow file (ztp_data_shadow.json) contains only
    status information which does not provide knowledge of url's of the
    configuration scripts used for ztp. The ztp_data_shadow.json file is updated
    everytume ztp_data.json is updated. The ztp_data_shadow.json is accessible to
    non-root user as well while ztp_data.json is accessible only to root user and
    has more information about the url's where configuration scripts can be downloaded
    from.
    
    Signed-off-by: Rajendra Dendukuri <rajendra.dendukuri@broadcom.com>
    rajendra-dendukuri committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    645f266 View commit details
    Browse the repository at this point in the history