From 80b1dc64f2020c2771fd43460e6a07f348f0b4d9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 13 Jan 2021 10:44:16 +0000 Subject: [PATCH] AWS: Ensure the product UUID is uppercase Newer kernels seem to return this in lowercase format which makes the comparison to "EC2" fail. Signed-off-by: Michael Tremer --- src/initscripts/system/functions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/initscripts/system/functions b/src/initscripts/system/functions index 31b30e037f..d610a524d1 100644 --- a/src/initscripts/system/functions +++ b/src/initscripts/system/functions @@ -797,6 +797,9 @@ running_on_ec2() { if [ -r "/sys/devices/virtual/dmi/id/product_uuid" ]; then uuid=$(