summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/show/configuration/all/node.def3
-rw-r--r--templates/show/configuration/node.def2
2 files changed, 3 insertions, 2 deletions
diff --git a/templates/show/configuration/all/node.def b/templates/show/configuration/all/node.def
index 66de50f..3f93f48 100644
--- a/templates/show/configuration/all/node.def
+++ b/templates/show/configuration/all/node.def
@@ -1,7 +1,8 @@
help: Show running configuration (including default values)
run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ];
then
- cli-shell-api showCfg --show-show-defaults --show-active-only
+ cli-shell-api showCfg --show-show-defaults --show-active-only \
+ --show-hide-secrets
else
echo Must be an admin user to run this command.
fi
diff --git a/templates/show/configuration/node.def b/templates/show/configuration/node.def
index bda1abc..34813a4 100644
--- a/templates/show/configuration/node.def
+++ b/templates/show/configuration/node.def
@@ -1,7 +1,7 @@
help: Show running configuration
run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ];
then
- cli-shell-api showCfg --show-active-only
+ cli-shell-api showCfg --show-active-only --show-hide-secrets
else
echo Must be an admin user to run this command.
fi