From b2de994d5f70776ba2bf2dcd7b18896a616ee1e0 Mon Sep 17 00:00:00 2001 From: linxin Date: Tue, 26 Mar 2024 17:02:49 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:TSG-20127=20TSG-OS=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8Dhotfix=E4=B8=AD=E8=AE=BE=E7=BD=AE=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=8F=98=E9=87=8F=E6=9C=AA=E5=9C=A8=E5=AE=B9=E5=99=A8?= =?UTF-8?q?=E4=B8=AD=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ansible/roles/mrzcpd/files/helm/templates/_config.tpl | 2 +- ansible/roles/packet_adapter/files/helm/templates/_config.tpl | 2 +- .../files/helm/templates/deployment-firewall.yaml | 2 +- .../traffic-engine/files/helm/templates/deployment-proxy.yaml | 2 +- .../files/helm/templates/deployment-service-chaining.yaml | 2 +- .../traffic-engine/files/helm/templates/deployment-shaping.yaml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ansible/roles/mrzcpd/files/helm/templates/_config.tpl b/ansible/roles/mrzcpd/files/helm/templates/_config.tpl index d373d34c..9f1dbca3 100644 --- a/ansible/roles/mrzcpd/files/helm/templates/_config.tpl +++ b/ansible/roles/mrzcpd/files/helm/templates/_config.tpl @@ -42,7 +42,7 @@ cat /opt/tsg/scripts/prestart.sh chmod 0755 /opt/tsg/scripts/prestart.sh - /opt/tsg/scripts/prestart.sh + source /opt/tsg/scripts/prestart.sh echo PRESTART.sh has been exec...... {{- end }} diff --git a/ansible/roles/packet_adapter/files/helm/templates/_config.tpl b/ansible/roles/packet_adapter/files/helm/templates/_config.tpl index b47afe9e..e6096380 100644 --- a/ansible/roles/packet_adapter/files/helm/templates/_config.tpl +++ b/ansible/roles/packet_adapter/files/helm/templates/_config.tpl @@ -116,7 +116,7 @@ cat /opt/tsg/scripts/prestart.sh chmod 0755 /opt/tsg/scripts/prestart.sh - /opt/tsg/scripts/prestart.sh + source /opt/tsg/scripts/prestart.sh echo PRESTART.sh has been exec...... {{- end }} diff --git a/ansible/roles/traffic-engine/files/helm/templates/deployment-firewall.yaml b/ansible/roles/traffic-engine/files/helm/templates/deployment-firewall.yaml index 634b18ca..4c08383f 100644 --- a/ansible/roles/traffic-engine/files/helm/templates/deployment-firewall.yaml +++ b/ansible/roles/traffic-engine/files/helm/templates/deployment-firewall.yaml @@ -62,7 +62,7 @@ spec: cat /opt/tsg/scripts/prestart.sh chmod 0755 /opt/tsg/scripts/prestart.sh - /opt/tsg/scripts/prestart.sh + source /opt/tsg/scripts/prestart.sh echo PRESTART.sh has been exec...... {{- end }} diff --git a/ansible/roles/traffic-engine/files/helm/templates/deployment-proxy.yaml b/ansible/roles/traffic-engine/files/helm/templates/deployment-proxy.yaml index 36944efd..e21d33a5 100644 --- a/ansible/roles/traffic-engine/files/helm/templates/deployment-proxy.yaml +++ b/ansible/roles/traffic-engine/files/helm/templates/deployment-proxy.yaml @@ -56,7 +56,7 @@ spec: cat /opt/tsg/scripts/prestart.sh chmod 0755 /opt/tsg/scripts/prestart.sh - /opt/tsg/scripts/prestart.sh + source /opt/tsg/scripts/prestart.sh echo PRESTART.sh has been exec...... {{- end }} diff --git a/ansible/roles/traffic-engine/files/helm/templates/deployment-service-chaining.yaml b/ansible/roles/traffic-engine/files/helm/templates/deployment-service-chaining.yaml index 7ff0f862..574da47f 100644 --- a/ansible/roles/traffic-engine/files/helm/templates/deployment-service-chaining.yaml +++ b/ansible/roles/traffic-engine/files/helm/templates/deployment-service-chaining.yaml @@ -56,7 +56,7 @@ spec: cat /opt/tsg/scripts/prestart.sh chmod 0755 /opt/tsg/scripts/prestart.sh - /opt/tsg/scripts/prestart.sh + source /opt/tsg/scripts/prestart.sh echo PRESTART.sh has been exec...... {{- end }} diff --git a/ansible/roles/traffic-engine/files/helm/templates/deployment-shaping.yaml b/ansible/roles/traffic-engine/files/helm/templates/deployment-shaping.yaml index a7403dda..87cc76ff 100644 --- a/ansible/roles/traffic-engine/files/helm/templates/deployment-shaping.yaml +++ b/ansible/roles/traffic-engine/files/helm/templates/deployment-shaping.yaml @@ -70,7 +70,7 @@ spec: cat /opt/tsg/scripts/prestart.sh chmod 0755 /opt/tsg/scripts/prestart.sh - /opt/tsg/scripts/prestart.sh + source /opt/tsg/scripts/prestart.sh echo PRESTART.sh has been exec...... {{- end }}