summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Harpin <development@landsofshadow.co.uk>2015-01-14 15:47:50 +0000
committerAlex Harpin <development@landsofshadow.co.uk>2015-01-14 15:47:50 +0000
commit16b61ca832db3c25f8878333c0a01fe61c5fa080 (patch)
treee8e7c91d8409c85a2933bee905bab44e1f479d30
parent12a7b8ac65305a347659ba1512eb01c7c31ce4a7 (diff)
downloadvyatta-op-16b61ca832db3c25f8878333c0a01fe61c5fa080.tar.gz
vyatta-op-16b61ca832db3c25f8878333c0a01fe61c5fa080.zip
vyatta-op: fix for show host domain replies (none)
Add the -d option to /bin/domainname so it actually returns the domain name configured on the system instead of (none) Bug #438 http://bugzilla.vyos.net/show_bug.cgi?id=438
-rw-r--r--templates/show/host/domain/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/host/domain/node.def b/templates/show/host/domain/node.def
index f252bfb..01cefc8 100644
--- a/templates/show/host/domain/node.def
+++ b/templates/show/host/domain/node.def
@@ -1,2 +1,2 @@
help: Show domain name
-run: /bin/domainname
+run: /bin/domainname -d