diff options
| author | zhangzhihan <[email protected]> | 2020-05-21 15:30:04 +0800 |
|---|---|---|
| committer | zhangzhihan <[email protected]> | 2020-05-21 15:30:04 +0800 |
| commit | 17221ed92130a9d60fe879f05450ec5fc573b2f3 (patch) | |
| tree | 3e534718ab3eef24605d115c837fce4f68418812 /roles/tfe | |
| parent | 037489a9b43f5aee28a607ccf0a07f9b8f34777b (diff) | |
20200521
Diffstat (limited to 'roles/tfe')
| -rw-r--r-- | roles/tfe/templates/tfe.conf.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/tfe/templates/tfe.conf.j2 b/roles/tfe/templates/tfe.conf.j2 index 62d2fd4..b009909 100644 --- a/roles/tfe/templates/tfe.conf.j2 +++ b/roles/tfe/templates/tfe.conf.j2 @@ -55,7 +55,11 @@ untrusted_ca_path=resource/tfe/tango-ca-v3-untrust-ca.pem passthrough_all_tcp=0 [traffic_mirror] +{% if tsg_access_type == 0 %} +device=lo +{% else %} device={{ nic_traffic_mirror.name }} +{% endif %} type=0 [ratelimit] |
