summaryrefslogtreecommitdiff
path: root/interface-definitions/system_host-name.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-30 09:38:55 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-30 11:43:07 +0000
commit2a6c25416ccc94912206a72698aef52be52eca29 (patch)
tree717eadec898a27a1a6bfc45a3cab7976955605db /interface-definitions/system_host-name.xml.in
parentc5fb6aecdc1fc3ca492b1641404ede1eba7a5e74 (diff)
downloadvyos-1x-2a6c25416ccc94912206a72698aef52be52eca29.tar.gz
vyos-1x-2a6c25416ccc94912206a72698aef52be52eca29.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! (cherry picked from commit 96d0e23a32a0e1b990ce022546ed7225956a0494)
Diffstat (limited to 'interface-definitions/system_host-name.xml.in')
-rw-r--r--interface-definitions/system_host-name.xml.in1
1 files changed, 1 insertions, 0 deletions
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>