summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhangzhihan <[email protected]>2020-05-07 20:50:17 +0800
committerzhangzhihan <[email protected]>2020-05-07 20:50:17 +0800
commit37847b9fba985392c7a5199f43fcae7bb15890d8 (patch)
tree837376867d55d289ab6fd5bc3d8ba2f57512b09f
parented2956f0deeb224e85c1568da957ad23fe91e201 (diff)
修正部署中bug
-rw-r--r--install_config/group_vars/all.yml6
-rw-r--r--roles/sapp/templates/conflist.inf.j22
-rw-r--r--roles/tsg-env-tun-mode/templates/setup.j26
3 files changed, 10 insertions, 4 deletions
diff --git a/install_config/group_vars/all.yml b/install_config/group_vars/all.yml
index 5c65e0c..f6ccbeb 100644
--- a/install_config/group_vars/all.yml
+++ b/install_config/group_vars/all.yml
@@ -13,7 +13,7 @@ dynamic_maat_redis_server:
db: 0
cert_store_server:
- address: "127.0.0.1"
+ address: "192.168.100.1"
port: 9991
log_kafkabrokers:
@@ -25,8 +25,8 @@ log_minio:
fs_remote:
switch: 1
- address: "127.0.0.1"
- port: 8125
+ address: "192.168.100.1"
+ port: 58125
########################################
sapp:
diff --git a/roles/sapp/templates/conflist.inf.j2 b/roles/sapp/templates/conflist.inf.j2
index d76d7dc..11b7d71 100644
--- a/roles/sapp/templates/conflist.inf.j2
+++ b/roles/sapp/templates/conflist.inf.j2
@@ -20,7 +20,7 @@
[business]
./plug/business/kni/kni.inf
-./plug/business/fw_ssl/fw_ssl.inf
+./plug/business/fw_ssl_plug/fw_ssl_plug.inf
./plug/business/fw_http_plug/fw_http_plug.inf
./plug/business/fw_dns_plug/fw_dns_plug.inf
./plug/business/fw_mail_plug/fw_mail_plug.inf
diff --git a/roles/tsg-env-tun-mode/templates/setup.j2 b/roles/tsg-env-tun-mode/templates/setup.j2
index d9ac77a..5b88ab0 100644
--- a/roles/tsg-env-tun-mode/templates/setup.j2
+++ b/roles/tsg-env-tun-mode/templates/setup.j2
@@ -3,3 +3,9 @@ modprobe 8021q
vconfig add {{ nic_mgr.name }} 100
vconfig set_flag {{ nic_mgr.name }}.100 1 1
ifconfig {{ nic_mgr.name }}.100 192.168.100.1 netmask 255.255.255.0 up
+ethtool -K {{ nic_transparent_mode.internel_interface }} tso off
+ethtool -K {{ nic_transparent_mode.internel_interface }} gso off
+ethtool -K {{ nic_transparent_mode.internel_interface }} gro off
+ethtool -K {{ nic_transparent_mode.externel_interface }} tso off
+ethtool -K {{ nic_transparent_mode.externel_interface }} gso off
+ethtool -K {{ nic_transparent_mode.externel_interface }} gro off