File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ ConditionKernelCommandLine=|coreos.oem.id=virtualbox
10
10
ConditionKernelCommandLine =|ignition.platform.id =vmware
11
11
ConditionKernelCommandLine =|flatcar.oem.id =vmware
12
12
ConditionKernelCommandLine =|coreos.oem.id =vmware
13
+ ConditionKernelCommandLine =|flatcar.oem.id =ionoscloud
13
14
14
15
DefaultDependencies =no
15
16
# Run before any user services to prevent potential config leaks
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Description=Run cloudinit
4
4
[Service]
5
5
EnvironmentFile =/var/run/ignition.env
6
6
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}"'
8
8
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)"'
9
9
10
10
[Install]
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ ConditionKernelCommandLine=|flatcar.oem.id=hetzner
30
30
ConditionKernelCommandLine =|ignition.platform.id =akamai
31
31
ConditionKernelCommandLine =|flatcar.oem.id =akamai
32
32
33
+ ConditionKernelCommandLine =|ignition.platform.id =ionoscloud
34
+ ConditionKernelCommandLine =|flatcar.oem.id =ionoscloud
35
+
33
36
[Service]
34
37
Type =oneshot
35
38
RemainAfterExit =yes
You can’t perform that action at this time.
0 commit comments