diff options
author | Christian Breunig <christian@breunig.cc> | 2023-02-28 22:24:38 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-02-28 22:24:38 +0100 |
commit | d14a6814acb173cdc6df13212620f7da330434ed (patch) | |
tree | 7b794f7f00e978da006acee060eca02e5389c9b6 /interface-definitions/dns-domain-name.xml.in | |
parent | 851364c00e0521a0afee4b449b0a31de442016f3 (diff) | |
download | vyos-1x-d14a6814acb173cdc6df13212620f7da330434ed.tar.gz vyos-1x-d14a6814acb173cdc6df13212620f7da330434ed.zip |
T4967: xml: provide re-usable constraint for CLI host-name definitions
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 9aca38735..e4d8c0f90 100644 --- a/interface-definitions/dns-domain-name.xml.in +++ b/interface-definitions/dns-domain-name.xml.in @@ -34,7 +34,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> |