Skip to content

Commit

Permalink
fix amazon linux1 platform and version detection
Browse files Browse the repository at this point in the history
The case statement for platform detections seems to have a string for wildcard (*) which fails to fetch metadata for amazon linux 1 during chef install. Fixing this.

Signed-off-by: siddhu208 <siddhu_to@yahoo.com>
  • Loading branch information
siddhu208 authored and Sai Siddartha Thotapalli committed Feb 12, 2024
1 parent 1334158 commit 0ca2ae6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ elif test -f "/etc/system-release"; then
platform="el"
platform_version="7"
;;
"*")
*)
platform="el"

# VERSION_ID will match YYYY.MM for Amazon Linux AMIs
Expand Down

0 comments on commit 0ca2ae6

Please sign in to comment.