Skip to content

Commit

Permalink
Remove "s" from "Processors" in the check-production.sh script (#298)
Browse files Browse the repository at this point in the history
Signed-off-by: Bun K Tan <[email protected]>
  • Loading branch information
bktan8 authored Dec 6, 2024
1 parent 86a37f3 commit 5ecda1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions attestation/check-production.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ CPU_MODEL=$(cat /proc/cpuinfo | awk 'match($0,/model.+: ([0-9]+)/,m){ print m[1]
CPU_GEN="unknown generation"
# ref : https://github.com/qemu/qemu/blob/master/target/i386/cpu.c
if [ "$CPU_MODEL" = "143" ]; then
CPU_GEN="4th Gen Intel® Xeon® Scalable Processors (codename: Sapphire Rapids)"
CPU_GEN="4th Gen Intel® Xeon® Scalable Processor (codename: Sapphire Rapids)"
fi
if [ "$CPU_MODEL" = "173" ]; then
CPU_GEN="Intel® Xeon® 6 with P-cores (codename: Granite Rapids)"
fi
if [ "$CPU_MODEL" = "207" ]; then
CPU_GEN="5th Gen Intel® Xeon® Scalable Processors (codename: Emerald Rapids)"
CPU_GEN="5th Gen Intel® Xeon® Scalable Processor (codename: Emerald Rapids)"
fi

echo "CPU: ${CPU_GEN}"
Expand Down

0 comments on commit 5ecda1f

Please sign in to comment.