summaryrefslogtreecommitdiff
path: root/interface-definitions/system-config-mgmt.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-20 08:13:04 +0100
committerGitHub <noreply@github.com>2023-11-20 08:13:04 +0100
commit293f6b2ea882ebbf5b54e9ff19b1854e627a06c3 (patch)
treeebefd4ed971efeae29670071e17bdb2bf52557d0 /interface-definitions/system-config-mgmt.xml.in
parentcd19b9d6b0c21a5d07a9f5a98e5e90d09d8d4cc9 (diff)
parentd87dfa557c962b9ac1bb7483a3b419095ae5fccf (diff)
downloadvyos-1x-293f6b2ea882ebbf5b54e9ff19b1854e627a06c3.tar.gz
vyos-1x-293f6b2ea882ebbf5b54e9ff19b1854e627a06c3.zip
Merge pull request #2505 from vyos/mergify/bp/sagitta/pr-2241
T2405: add Git support to commit-archive (backport #2241)
Diffstat (limited to 'interface-definitions/system-config-mgmt.xml.in')
-rw-r--r--interface-definitions/system-config-mgmt.xml.in29
1 files changed, 27 insertions, 2 deletions
diff --git a/interface-definitions/system-config-mgmt.xml.in b/interface-definitions/system-config-mgmt.xml.in
index de5a8cc16..61089ce34 100644
--- a/interface-definitions/system-config-mgmt.xml.in
+++ b/interface-definitions/system-config-mgmt.xml.in
@@ -17,11 +17,36 @@
<properties>
<help>Commit archive location</help>
<valueHelp>
- <format>uri</format>
- <description>Uniform Resource Identifier</description>
+ <format>http://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;</format>
+ <description/>
+ </valueHelp>
+ <valueHelp>
+ <format>https://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;</format>
+ <description/>
+ </valueHelp>
+ <valueHelp>
+ <format>ftp://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;</format>
+ <description/>
+ </valueHelp>
+ <valueHelp>
+ <format>sftp://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;</format>
+ <description/>
+ </valueHelp>
+ <valueHelp>
+ <format>scp://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;</format>
+ <description/>
+ </valueHelp>
+ <valueHelp>
+ <format>tftp://&lt;host&gt;/&lt;path&gt;</format>
+ <description/>
+ </valueHelp>
+ <valueHelp>
+ <format>git+https://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;</format>
+ <description/>
</valueHelp>
<constraint>
<validator name="url --file-transport"/>
+ <regex>(ssh|git|git\+(\w+)):\/\/.*</regex>
</constraint>
<multi/>
</properties>