From 9b77c401bdd06230cceab7f3e37fc80958cfc72a Mon Sep 17 00:00:00 2001 From: Runar Borge Date: Sun, 17 Jun 2018 22:28:21 +0200 Subject: rewrite show host to new syntax --- op-mode-definitions/show-host.xml | 51 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 op-mode-definitions/show-host.xml (limited to 'op-mode-definitions/show-host.xml') diff --git a/op-mode-definitions/show-host.xml b/op-mode-definitions/show-host.xml new file mode 100644 index 000000000..39c6c3acc --- /dev/null +++ b/op-mode-definitions/show-host.xml @@ -0,0 +1,51 @@ + + + + + + + Show host information + + + + + Show host current date + + /bin/date + + + + + Show domain name + + /bin/domainname -d + + + + + Show host name + + /bin/hostname + + + + + Show host operating system details + + /bin/uname -a + + + + + Lookup host information for hostname|IPv4 address + + /usr/bin/host $4 + + + + + + + + + -- cgit v1.2.3 From db121fec464c96e8ba68a2469ed88d8f49d08b48 Mon Sep 17 00:00:00 2001 From: Runar Borge Date: Sun, 24 Jun 2018 10:31:48 +0200 Subject: T689: Removed show host date, it's a duplicate of show date --- op-mode-definitions/show-host.xml | 7 ------- 1 file changed, 7 deletions(-) (limited to 'op-mode-definitions/show-host.xml') diff --git a/op-mode-definitions/show-host.xml b/op-mode-definitions/show-host.xml index 39c6c3acc..0eb342463 100644 --- a/op-mode-definitions/show-host.xml +++ b/op-mode-definitions/show-host.xml @@ -7,13 +7,6 @@ Show host information - - - Show host current date - - /bin/date - - Show domain name -- cgit v1.2.3 From 0c8e4605f19e7caa6fb7ccb7009bb21bb9c6cdbc Mon Sep 17 00:00:00 2001 From: Runar Borge Date: Sun, 24 Jun 2018 11:56:32 +0200 Subject: T689: Removed 'show host os', if anyone wants kernel information i think they know about 'uname -a' and because upgrading kernel in vyos is not allowed outsude the release schedule kernel information shoild be maintained inside the vyos install package. --- op-mode-definitions/show-host.xml | 7 ------- 1 file changed, 7 deletions(-) (limited to 'op-mode-definitions/show-host.xml') diff --git a/op-mode-definitions/show-host.xml b/op-mode-definitions/show-host.xml index 0eb342463..b3ea129a2 100644 --- a/op-mode-definitions/show-host.xml +++ b/op-mode-definitions/show-host.xml @@ -21,13 +21,6 @@ /bin/hostname - - - Show host operating system details - - /bin/uname -a - - Lookup host information for hostname|IPv4 address -- cgit v1.2.3