summaryrefslogtreecommitdiff
path: root/interface-definitions/system-config-mgmt.xml.in
diff options
context:
space:
mode:
authorYun Zheng Hu <hu@fox-it.com>2023-11-18 21:34:15 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-19 09:17:55 +0100
commit949a4babb3daf1c585125fa71942fc7fa7832cdf (patch)
treea452015e8562a44a63db087cdc79e35bdca93f24 /interface-definitions/system-config-mgmt.xml.in
parentcd19b9d6b0c21a5d07a9f5a98e5e90d09d8d4cc9 (diff)
downloadvyos-1x-949a4babb3daf1c585125fa71942fc7fa7832cdf.tar.gz
vyos-1x-949a4babb3daf1c585125fa71942fc7fa7832cdf.zip
T2405: add Git support to commit-archive
(cherry picked from commit a89243cfbfc90854a8cddd53c0ffc987f75abcee)
Diffstat (limited to 'interface-definitions/system-config-mgmt.xml.in')
-rw-r--r--interface-definitions/system-config-mgmt.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/system-config-mgmt.xml.in b/interface-definitions/system-config-mgmt.xml.in
index de5a8cc16..794f9f1a0 100644
--- a/interface-definitions/system-config-mgmt.xml.in
+++ b/interface-definitions/system-config-mgmt.xml.in
@@ -22,6 +22,7 @@
</valueHelp>
<constraint>
<validator name="url --file-transport"/>
+ <regex>(ssh|git|git\+(\w+)):\/\/.*</regex>
</constraint>
<multi/>
</properties>