Skip to content

Commit a62b199

Browse files
committed
add ionoscloud support
1 parent 05b4b2a commit a62b199

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

systemd/system/ignition-delete-config.service

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ConditionKernelCommandLine=|coreos.oem.id=virtualbox
1010
ConditionKernelCommandLine=|ignition.platform.id=vmware
1111
ConditionKernelCommandLine=|flatcar.oem.id=vmware
1212
ConditionKernelCommandLine=|coreos.oem.id=vmware
13+
ConditionKernelCommandLine=|flatcar.oem.id=ionoscloud
1314

1415
DefaultDependencies=no
1516
# Run before any user services to prevent potential config leaks

systemd/system/oem-cloudinit.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Description=Run cloudinit
44
[Service]
55
EnvironmentFile=/var/run/ignition.env
66
Type=oneshot
7-
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}"'
7+
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}"'
88
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)"'
99

1010
[Install]

systemd/system/sshkeys.service

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ ConditionKernelCommandLine=|flatcar.oem.id=hetzner
3030
ConditionKernelCommandLine=|ignition.platform.id=akamai
3131
ConditionKernelCommandLine=|flatcar.oem.id=akamai
3232

33+
ConditionKernelCommandLine=|ignition.platform.id=ionoscloud
34+
ConditionKernelCommandLine=|flatcar.oem.id=ionoscloud
35+
3336
[Service]
3437
Type=oneshot
3538
RemainAfterExit=yes

0 commit comments

Comments
 (0)