diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-01 21:10:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-01 21:10:45 +0200 |
commit | b25d8e9787ee5243feb6b08098bbba958fe22d8c (patch) | |
tree | cf0821334cd982e6c025ff820edcbcb363871713 /op-mode-definitions/show-host.xml | |
parent | 308886a3fc28aa7772c14452185fb06531ba9dfd (diff) | |
parent | 76f498220c796a39a92ce3bed47c1cc5bac1a99d (diff) | |
download | vyos-1x-b25d8e9787ee5243feb6b08098bbba958fe22d8c.tar.gz vyos-1x-b25d8e9787ee5243feb6b08098bbba958fe22d8c.zip |
Merge pull request #119 from alkersan/T1621_misc_rewrites
[op-mode] T1621 rewrite misc commands to python/xml syntax
Diffstat (limited to 'op-mode-definitions/show-host.xml')
-rw-r--r-- | op-mode-definitions/show-host.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/op-mode-definitions/show-host.xml b/op-mode-definitions/show-host.xml index d7f8104aa..eee1288a1 100644 --- a/op-mode-definitions/show-host.xml +++ b/op-mode-definitions/show-host.xml @@ -7,6 +7,12 @@ <help>Show host information</help> </properties> <children> + <leafNode name="date"> + <properties> + <help>Show host current date</help> + </properties> + <command>/bin/date</command> + </leafNode> <leafNode name="domain"> <properties> <help>Show domain name</help> @@ -25,6 +31,12 @@ </properties> <command>/usr/bin/host $4</command> </tagNode> + <leafNode name="os"> + <properties> + <help>Show host operating system details</help> + </properties> + <command>/bin/uname -a</command> + </leafNode> </children> </node> </children> |