Skip to content

Commit c810a4b

Browse files
committed
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 <mikko.ylinen@intel.com>
1 parent 825d882 commit c810a4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/screencast-sgx.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ screen5()
9393
{
9494
clear
9595
out "4. Verify node resources"
96-
command "kubectl get nodes -o json | jq .items[].status.allocatable | grep -i sgx"
97-
command "kubectl get nodes -o json | jq .items[].metadata.labels | grep SGX"
96+
command "kubectl get nodes -o json | jq .items[].status.allocatable | grep sgx"
97+
command "kubectl get nodes -o json | jq .items[].metadata.labels | grep sgx"
9898
out "Both node labels and resources for SGX are in place"
9999
}
100100

0 commit comments

Comments
 (0)