diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-04-15 16:20:56 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-04-15 17:50:58 +0200 |
commit | 47ff98bd2e1a808cd79b9773a26c2adf851defd0 (patch) | |
tree | d54970a30ff3dceba5ebefe5a4eeb0d6b3d8c57e /interface-definitions | |
parent | 25a57a9f727f908e0027a598d56eaa6375ac5c25 (diff) | |
download | vyos-1x-47ff98bd2e1a808cd79b9773a26c2adf851defd0.tar.gz vyos-1x-47ff98bd2e1a808cd79b9773a26c2adf851defd0.zip |
dns-forwarding: add completion helper for dhcp
cpo@LR1# set service dns forwarding dhcp
Possible completions:
<text> Use nameservers received from DHCP server for specified interface
eth0
eth1
lo
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/dns-forwarding.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/dns-forwarding.xml b/interface-definitions/dns-forwarding.xml index d56911c60..fef68ca18 100644 --- a/interface-definitions/dns-forwarding.xml +++ b/interface-definitions/dns-forwarding.xml @@ -26,6 +26,9 @@ <leafNode name="dhcp"> <properties> <help>Use nameservers received from DHCP server for specified interface</help> + <completionHelp> + <script>${vyatta_sbindir}/vyatta-interfaces.pl --show all</script> + </completionHelp> <multi/> </properties> </leafNode> |