Skip to content

eBPF-based security platform

image: give the runtime image's shirudo.conf a fixed mode

Andrea Lattuada46005817e94e
diff --git a/tools/gen-image/shirudo-gen-runtime b/tools/gen-image/shirudo-gen-runtime
index f177a22d..868241ef 100755
--- a/tools/gen-image/shirudo-gen-runtime
+++ b/tools/gen-image/shirudo-gen-runtime
@@ -84,6 +84,7 @@ stage_config_certificates()
awk '!/^[[:space:]]*config[.]verification_key[[:space:]]*=/' \
"$conf" >"$runtime_conf"
+ chmod 0644 "$runtime_conf"
for ((i = 0; i < ${#config_certs[@]}; i++)); do
name=config-cert.der
if [ "$i" -gt 0 ]; then