summaryrefslogtreecommitdiff
path: root/interface-definitions/system_domain-name.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-30 09:38:55 +0200
committerChristian Breunig <christian@breunig.cc>2024-05-30 09:38:55 +0200
commit96d0e23a32a0e1b990ce022546ed7225956a0494 (patch)
treedffaaf864daa519829c4ca7f65d9d4116bb8a41f /interface-definitions/system_domain-name.xml.in
parentb7595ee9d328778105c70e3d4399ac45f555b304 (diff)
downloadvyos-1x-96d0e23a32a0e1b990ce022546ed7225956a0494.tar.gz
vyos-1x-96d0e23a32a0e1b990ce022546ed7225956a0494.zip
hostname: T6421: enforce explicit CLI priority for host-name and domain-name
To prevent any possible races in the future the host-name and domain-name nodes should be set with explicit priorities!
Diffstat (limited to 'interface-definitions/system_domain-name.xml.in')
-rw-r--r--interface-definitions/system_domain-name.xml.in1
1 files changed, 1 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>