From 48b27e0c1ea37d5c55801828cf2736698ed9d8b5 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang 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 +- templates/show/configuration/node.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/show') 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 diff --git a/templates/show/configuration/node.def b/templates/show/configuration/node.def index 3c2c7e7..bda1abc 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 - ${vyatta_sbindir}/vyatta-output-config.pl -active + cli-shell-api showCfg --show-active-only else echo Must be an admin user to run this command. fi -- cgit v1.2.3