From 6ff650c186904862f4c618c6223a3018f6ecdab0 Mon Sep 17 00:00:00 2001 From: Jan Larwig Date: Mon, 21 Oct 2024 09:33:06 +0200 Subject: [PATCH] add ionoscloud support --- 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 69eeb9b..40f7b21 100644 --- a/systemd/system/oem-cloudinit.service +++ b/systemd/system/oem-cloudinit.service @@ -4,7 +4,7 @@ Description=Run cloudinit [Service] EnvironmentFile=/var/run/ignition.env Type=oneshot -ExecCondition=/usr/bin/bash -xc 'OEMS=(aws gcp rackspace-onmetal azure cloudsigma packet vmware digitalocean openstack); echo $${OEMS[*]} | tr " " "\n" | grep -q -x -F "${OEM_ID}"' +ExecCondition=/usr/bin/bash -xc 'OEMS=(aws gcp rackspace-onmetal azure cloudsigma packet vmware digitalocean openstack ionoscloud); echo $${OEMS[*]} | tr " " "\n" | grep -q -x -F "${OEM_ID}"' ExecStart=/usr/bin/bash -xc '/usr/bin/coreos-cloudinit --oem="$(if [ "${OEM_ID}" = aws -o "${OEM_ID}" = openstack ]; then echo ec2-compat; elif [ "${OEM_ID}" = gcp ]; then echo gce; else echo "${OEM_ID}" ; fi)"' [Install]