Skip to content

Commit

Permalink
Add --show-ignore-edit. Config dump was incomplete if an edit level w…
Browse files Browse the repository at this point in the history
…as used.
  • Loading branch information
None committed Jun 23, 2017
1 parent 5079c98 commit efe196d
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 > /config/user-data/$FNAME_CONFIG
sudo cli-shell-api showConfig --show-commands --show-active-only > /config/user-data/$FNAME_CLI
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

# 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 efe196d

Please sign in to comment.