diff options
Diffstat (limited to 'templates/show/configuration')
-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 |