From c810a4bd723b45d524f409c7f4281889a7754dbb Mon Sep 17 00:00:00 2001 From: Mikko Ylinen Date: Wed, 24 Feb 2021 11:33:35 +0200 Subject: [PATCH] demo: fix SGX screencast With the recent move to NFD custom source config for SGX features, we no longer get SGX* cpuid labels but custom-intel.sgx so the grep fails. Move to lowercase only checks. Signed-off-by: Mikko Ylinen --- demo/screencast-sgx.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/screencast-sgx.sh b/demo/screencast-sgx.sh index 41733f71..a9f6df63 100755 --- a/demo/screencast-sgx.sh +++ b/demo/screencast-sgx.sh @@ -93,8 +93,8 @@ screen5() { clear out "4. Verify node resources" - command "kubectl get nodes -o json | jq .items[].status.allocatable | grep -i sgx" - command "kubectl get nodes -o json | jq .items[].metadata.labels | grep SGX" + command "kubectl get nodes -o json | jq .items[].status.allocatable | grep sgx" + command "kubectl get nodes -o json | jq .items[].metadata.labels | grep sgx" out "Both node labels and resources for SGX are in place" }