-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a shadow ZTP data json file accessible to non-root user (#13)
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>
- Loading branch information
1 parent
374c9e8
commit 1018662
Showing
5 changed files
with
64 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters