summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-30 14:16:09 +0200
committerGitHub <noreply@github.com>2024-05-30 14:16:09 +0200
commit8d501631109534b541e20db8ef51a8a3cbd691d4 (patch)
treed052eed3904e1194dc233eee961e5055aa923ba1 /interface-definitions
parentc5fb6aecdc1fc3ca492b1641404ede1eba7a5e74 (diff)
parent013ed1d6ff6360db771cb992d8331a5dceada154 (diff)
downloadvyos-1x-8d501631109534b541e20db8ef51a8a3cbd691d4.tar.gz
vyos-1x-8d501631109534b541e20db8ef51a8a3cbd691d4.zip
Merge pull request #3553 from vyos/mergify/bp/sagitta/pr-3551
hostname: T6421: enforce explicit CLI priority for host-name and domain-name (backport #3551)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system_domain-name.xml.in1
-rw-r--r--interface-definitions/system_host-name.xml.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/interface-definitions/system_domain-name.xml.in b/interface-definitions/system_domain-name.xml.in
index bfca9b8ce..695af29d9 100644
--- a/interface-definitions/system_domain-name.xml.in
+++ b/interface-definitions/system_domain-name.xml.in
@@ -5,6 +5,7 @@
<leafNode name="domain-name" owner="${vyos_conf_scripts_dir}/system_host-name.py">
<properties>
<help>System domain name</help>
+ <priority>6</priority>
<constraint>
<validator name="fqdn"/>
</constraint>
diff --git a/interface-definitions/system_host-name.xml.in b/interface-definitions/system_host-name.xml.in
index 423531a68..f74baab48 100644
--- a/interface-definitions/system_host-name.xml.in
+++ b/interface-definitions/system_host-name.xml.in
@@ -6,6 +6,7 @@
<leafNode name="host-name" owner="${vyos_conf_scripts_dir}/system_host-name.py">
<properties>
<help>System host name (default: vyos)</help>
+ <priority>5</priority>
<constraint>
#include <include/constraint/host-name.xml.i>
</constraint>