summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-03-01 10:45:58 +0200
committerGitHub <noreply@github.com>2023-03-01 10:45:58 +0200
commitc4afde0f76a3bd66df975e823f317fce6efae75b (patch)
treed9646ac6cf567b5773bcfd523690aa9ec1e0a21b /interface-definitions/include
parent0420cea6f0c655aced9668ae01c50d517e1e8f29 (diff)
parent3fbe35c8ab0e5dc5fd7af1a5fc8b39e848655d36 (diff)
downloadvyos-1x-c4afde0f76a3bd66df975e823f317fce6efae75b.tar.gz
vyos-1x-c4afde0f76a3bd66df975e823f317fce6efae75b.zip
Merge pull request #1861 from c-po/container-backports
T4014: T4014: container backports for equuleus
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/constraint/host-name.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/include/constraint/host-name.xml.in b/interface-definitions/include/constraint/host-name.xml.in
new file mode 100644
index 000000000..202c200f4
--- /dev/null
+++ b/interface-definitions/include/constraint/host-name.xml.in
@@ -0,0 +1,3 @@
+<!-- include start from constraint/host-name.xml.in -->
+<regex>[A-Za-z0-9][-.A-Za-z0-9]*[A-Za-z0-9]</regex>
+<!-- include end -->