diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-11-10 11:42:40 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-11-10 11:42:40 -0800 |
commit | 0d7101e45564324b385a56e3fb8d95b1b732d0e8 (patch) | |
tree | 1fcc0a8017fd613b77fa7656e91eae774c7511a2 /templates | |
parent | a25beab1e1162dfab300b59e0b520f1c1f54853d (diff) | |
download | vyatta-op-0d7101e45564324b385a56e3fb8d95b1b732d0e8.tar.gz vyatta-op-0d7101e45564324b385a56e3fb8d95b1b732d0e8.zip |
match pre-mendocino "show configuration"
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show/configuration/all/node.def | 3 | ||||
-rw-r--r-- | templates/show/configuration/node.def | 2 |
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 |