From efe196de0c187c5720a419b0b4c9d5bce6ee1953 Mon Sep 17 00:00:00 2001 From: None Date: Thu, 22 Jun 2017 23:53:06 -0400 Subject: [PATCH] Add --show-ignore-edit. Config dump was incomplete if an edit level was used. --- config/user-data/hooks/03-edgerouter-backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/user-data/hooks/03-edgerouter-backup.sh b/config/user-data/hooks/03-edgerouter-backup.sh index 48388e4..3972e8e 100644 --- a/config/user-data/hooks/03-edgerouter-backup.sh +++ b/config/user-data/hooks/03-edgerouter-backup.sh @@ -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