From 48b27e0c1ea37d5c55801828cf2736698ed9d8b5 Mon Sep 17 00:00:00 2001
From: An-Cheng Huang <ancheng@vyatta.com>
Date: Thu, 26 Aug 2010 16:46:46 -0700
Subject: switch "show configuration" to use new config output implementation.

---
 templates/show/configuration/all/node.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'templates/show/configuration/all/node.def')

diff --git a/templates/show/configuration/all/node.def b/templates/show/configuration/all/node.def
index 77c3e04..66de50f 100644
--- a/templates/show/configuration/all/node.def
+++ b/templates/show/configuration/all/node.def
@@ -1,7 +1,7 @@
 help: Show running configuration (including default values)
 run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; 
      then
-        ${vyatta_sbindir}/vyatta-output-config.pl -all -active
+        cli-shell-api showCfg --show-show-defaults --show-active-only
      else
         echo Must be an admin user to run this command.
      fi
-- 
cgit v1.2.3

