From 0ea1574b922ed30b46717620ce212af7f70ec03f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 15 Apr 2022 21:09:03 +0200 Subject: salt-minion: T4364: add support for source-interface definition --- data/templates/salt-minion/minion.j2 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'data/templates/salt-minion/minion.j2') diff --git a/data/templates/salt-minion/minion.j2 b/data/templates/salt-minion/minion.j2 index d9922ebe8..6940c0cde 100644 --- a/data/templates/salt-minion/minion.j2 +++ b/data/templates/salt-minion/minion.j2 @@ -57,5 +57,11 @@ id: {{ id }} # The number of minutes between mine updates. mine_interval: {{ interval }} -verify_master_pubkey_sign: {{ 'True' if master_key is vyos_defined else 'False' }} +{% if source_interface is vyos_defined %} +# The name of the interface to use when establishing the connection to the Master. +source_interface_name = {{ source_interface }} +{% endif %} +# Enables verification of the master-public-signature returned by the master +# in auth-replies. +verify_master_pubkey_sign: {{ 'True' if master_key is vyos_defined else 'False' }} -- cgit v1.2.3