From 16b61ca832db3c25f8878333c0a01fe61c5fa080 Mon Sep 17 00:00:00 2001
From: Alex Harpin <development@landsofshadow.co.uk>
Date: Wed, 14 Jan 2015 15:47:50 +0000
Subject: 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
---
 templates/show/host/domain/node.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
cgit v1.2.3