Skip to content

Commit

Permalink
Add --show-show-defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
None committed Jun 23, 2017
1 parent efe196d commit b4bf45c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/user-data/hooks/03-edgerouter-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
source /config/user-data/edgerouter-backup.conf

# Generate temporary config files
sudo cli-shell-api showConfig --show-active-only --show-ignore-edit > /config/user-data/$FNAME_CONFIG
sudo cli-shell-api showConfig --show-commands --show-active-only --show-ignore-edit > /config/user-data/$FNAME_CLI
sudo cli-shell-api showConfig --show-active-only --show-ignore-edit --show-show-defaults > /config/user-data/$FNAME_CONFIG
sudo cli-shell-api showConfig --show-commands --show-active-only --show-ignore-edit --show-show-defaults > /config/user-data/$FNAME_CLI

# Push config files
sudo scp -i $SSH_KEYFILE -o StrictHostKeyChecking=no /config/user-data/$FNAME_CONFIG $SSH_USER@$SSH_HOST:$REPO_PATH/$FNAME_CONFIG
Expand Down

0 comments on commit b4bf45c

Please sign in to comment.