summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-08-26 16:46:46 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-08-26 16:46:46 -0700
commit48b27e0c1ea37d5c55801828cf2736698ed9d8b5 (patch)
tree30134c37b2aab68d725f252814dd307d424f1bf5 /templates
parentd2250ebf425844210cc60505b429432d2f0f0ae1 (diff)
downloadvyatta-op-48b27e0c1ea37d5c55801828cf2736698ed9d8b5.tar.gz
vyatta-op-48b27e0c1ea37d5c55801828cf2736698ed9d8b5.zip
switch "show configuration" to use new config output implementation.
Diffstat (limited to 'templates')
-rw-r--r--templates/show/configuration/all/node.def2
-rw-r--r--templates/show/configuration/node.def2
2 files changed, 2 insertions, 2 deletions
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