diff options
author | Christian Breunig <christian@breunig.cc> | 2023-02-28 22:24:38 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2023-03-01 08:28:41 +0100 |
commit | 3fbe35c8ab0e5dc5fd7af1a5fc8b39e848655d36 (patch) | |
tree | d9646ac6cf567b5773bcfd523690aa9ec1e0a21b /interface-definitions/dns-domain-name.xml.in | |
parent | 4bcc364559beb0943a725ff6be737630ee78d527 (diff) | |
download | vyos-1x-3fbe35c8ab0e5dc5fd7af1a5fc8b39e848655d36.tar.gz vyos-1x-3fbe35c8ab0e5dc5fd7af1a5fc8b39e848655d36.zip |
T4967: xml: provide re-usable constraint for CLI host-name definitions
(cherry picked from commit d14a6814acb173cdc6df13212620f7da330434ed)
Diffstat (limited to 'interface-definitions/dns-domain-name.xml.in')
-rw-r--r-- | interface-definitions/dns-domain-name.xml.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/dns-domain-name.xml.in b/interface-definitions/dns-domain-name.xml.in index a599a75cc..d77c94898 100644 --- a/interface-definitions/dns-domain-name.xml.in +++ b/interface-definitions/dns-domain-name.xml.in @@ -33,7 +33,7 @@ <properties> <help>System host name (default: vyos)</help> <constraint> - <regex>[A-Za-z0-9][-.A-Za-z0-9]*[A-Za-z0-9]</regex> + #include <include/constraint/host-name.xml.in> </constraint> </properties> </leafNode> |