From 0d7101e45564324b385a56e3fb8d95b1b732d0e8 Mon Sep 17 00:00:00 2001
From: An-Cheng Huang <ancheng@vyatta.com>
Date: Wed, 10 Nov 2010 11:42:40 -0800
Subject: match pre-mendocino "show configuration"

---
 templates/show/configuration/all/node.def | 3 ++-
 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
-- 
cgit v1.2.3