diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-07-15 20:58:28 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-07-15 20:58:28 +0200 |
commit | c24cecc325defc87973b28d288b23eca8368927d (patch) | |
tree | 051a18b72a40bc9405235c8487157493e3b83fbb /data/templates/system/curlrc.tmpl | |
parent | 2dd1392cfe28518658604c88e606c7aec03936a7 (diff) | |
parent | 63052b8906871dc314945922e7f27ef24e114a45 (diff) | |
download | vyos-1x-c24cecc325defc87973b28d288b23eca8368927d.tar.gz vyos-1x-c24cecc325defc87973b28d288b23eca8368927d.zip |
Merge branch 'curlrc' of github.com:c-po/vyos-1x into current
* 'curlrc' of github.com:c-po/vyos-1x:
http-client: T2651: support specifying source-interface/address for curl
xml: T2651: provide general source-interface include file
Diffstat (limited to 'data/templates/system/curlrc.tmpl')
-rw-r--r-- | data/templates/system/curlrc.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/templates/system/curlrc.tmpl b/data/templates/system/curlrc.tmpl new file mode 100644 index 000000000..675e35a0c --- /dev/null +++ b/data/templates/system/curlrc.tmpl @@ -0,0 +1,8 @@ +{% if http_client is defined %}
+{% if http_client.source_interface is defined %}
+--interface "{{ http_client.source_interface }}"
+{% endif %}
+{% if http_client.source_address is defined %}
+--interface "{{ http_client.source_address }}"
+{% endif %}
+{% endif %}
|