diff --git a/snmp_ee_vnf/helm-charts/eechart/source/vnf_ee.py b/snmp_ee_vnf/helm-charts/eechart/source/vnf_ee.py index 43e5d9b3e9c94eb7936aea0f57dd64caee9d2ddf..78fb735e90c2d2a4724d6e270d7032daa587cdd6 100755 --- a/snmp_ee_vnf/helm-charts/eechart/source/vnf_ee.py +++ b/snmp_ee_vnf/helm-charts/eechart/source/vnf_ee.py @@ -53,7 +53,8 @@ class VnfEE: commands = ("cp /app/vnf/generator/generator.yml ./", "snmp_generator generate --output-path=/etc/snmp_exporter/snmp.yml", - "cp /app/vnf/generator/generator.yml /etc/snmp_exporter/") + "cp /app/vnf/generator/generator.yml /etc/snmp_exporter/", + "chattr -i /etc/snmp_exporter/generator.yml") for command in commands: return_code, stdout, stderr = await util_ee.local_async_exec(command) if return_code != 0: