diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-26 16:46:46 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-26 16:46:46 -0700 |
commit | 48b27e0c1ea37d5c55801828cf2736698ed9d8b5 (patch) | |
tree | 30134c37b2aab68d725f252814dd307d424f1bf5 | |
parent | d2250ebf425844210cc60505b429432d2f0f0ae1 (diff) | |
download | vyatta-op-48b27e0c1ea37d5c55801828cf2736698ed9d8b5.tar.gz vyatta-op-48b27e0c1ea37d5c55801828cf2736698ed9d8b5.zip |
switch "show configuration" to use new config output implementation.
-rw-r--r-- | templates/show/configuration/all/node.def | 2 | ||||
-rw-r--r-- | templates/show/configuration/node.def | 2 |
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 |