From 6975fd645fd09fd5383058b78097e9fb595c1c56 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Fri, 4 Sep 2026 12:22:43 +0100 Subject: [PATCH] systemd: Escape %s in oem-cloudinit.service Signed-off-by: James Le Cuirot --- systemd/system/oem-cloudinit.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/system/oem-cloudinit.service b/systemd/system/oem-cloudinit.service index cb8d46e..d012aa6 100644 --- a/systemd/system/oem-cloudinit.service +++ b/systemd/system/oem-cloudinit.service @@ -5,7 +5,7 @@ Description=Run cloudinit EnvironmentFile=/var/run/ignition.env Type=oneshot ExecCondition=bash -xc 'case ${OEM_ID} in aws|azure|cloudsigma|digitalocean|gcp|openstack|vmware) true;; *) false;; esac' -ExecStart=bash -xc 'exec coreos-cloudinit --oem="$(case ${OEM_ID} in aws|openstack) echo ec2-compat;; gcp) echo gce;; *) printf "%s" "${OEM_ID}";; esac)"' +ExecStart=bash -xc 'exec coreos-cloudinit --oem="$(case ${OEM_ID} in aws|openstack) echo ec2-compat;; gcp) echo gce;; *) printf "%%s" "${OEM_ID}";; esac)"' [Install] WantedBy=multi-user.target