summaryrefslogtreecommitdiff
path: root/interface-definitions/host-name.xml
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/host-name.xml')
-rw-r--r--interface-definitions/host-name.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/interface-definitions/host-name.xml b/interface-definitions/host-name.xml
new file mode 100644
index 000000000..3d9c9d6c9
--- /dev/null
+++ b/interface-definitions/host-name.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+
+<!-- host-name configuration -->
+
+<interfaceDefinition>
+ <node name="system">
+ <children>
+ <node name="host-name" owner="${vyos_sbindir}/vyos-config-host-name.py">
+ <properties>
+ <help>Hostname settings</help>
+ </properties>
+ <children>
+ <leafNode name="hostname">
+ <properties>
+ <help>server's hostname </help>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition> \ No newline at end of file