Skip to content

Commit 9806345

Browse files
committed
ignition: support 'ami' OEM ID.
Signed-off-by: Mathieu Tortuyaux <[email protected]>
1 parent 2c0968a commit 9806345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dracut/30ignition/ignition-generator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ if [[ "${oem_id}" = "${oem_cmdline}" ]]; then
150150
fi
151151

152152
# Ignition changed the platform name to "aws"
153-
if [ "${oem_cmdline}" = "ec2" ]; then
153+
if [ "${oem_cmdline}" = "ec2" ] || [ "${oem_cmdline}" = "ami" ]; then
154154
oem_cmdline="aws"
155155
fi
156156

0 commit comments

Comments
 (0)