Skip to content

Commit 4ce05b7

Browse files
authored
Merge pull request #2195 from rajatchopra/renderfix
avoid unicode character that messes up pod rendering
2 parents 592f53e + 96529e0 commit 4ce05b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/state-kata-device-plugin/0500_daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
command: ['sh', '-c']
3131
args:
3232
- until [ -f /run/nvidia/validations/workload-type ]; do echo waiting for workload type status file; sleep 5; done;
33-
if [ "$(</run/nvidia/validations/workload-type)" != "vm-passthrough" ]; then echo kata not needed, skipping validation; exit 0; fi;
33+
if [ "$(cat /run/nvidia/validations/workload-type)" != "vm-passthrough" ]; then echo kata not needed, skipping validation; exit 0; fi;
3434
until [ -f /run/nvidia/validations/vfio-pci-ready ]; do echo waiting for vfio-pci driver ...; sleep 5; done;
3535
env:
3636
- name: NVIDIA_VISIBLE_DEVICES

assets/state-sandbox-device-plugin/0500_daemonset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
command: ['sh', '-c']
3131
args:
3232
- until [ -f /run/nvidia/validations/workload-type ]; do echo waiting for workload type status file; sleep 5; done;
33-
if [ "$(</run/nvidia/validations/workload-type)" != "vm-passthrough" ]; then echo vfio-pci not needed, skipping validation; exit 0; fi;
33+
if [ "$(cat /run/nvidia/validations/workload-type)" != "vm-passthrough" ]; then echo vfio-pci not needed, skipping validation; exit 0; fi;
3434
until [ -f /run/nvidia/validations/vfio-pci-ready ]; do echo waiting for vfio-pci driver ...; sleep 5; done;
3535
env:
3636
- name: NVIDIA_VISIBLE_DEVICES
@@ -46,7 +46,7 @@ spec:
4646
command: ['sh', '-c']
4747
args:
4848
- until [ -f /run/nvidia/validations/workload-type ]; do echo waiting for workload type status file; sleep 5; done;
49-
if [ "$(</run/nvidia/validations/workload-type)" != "vm-vgpu" ]; then echo vgpu-devices not needed, skipping validation; exit 0; fi;
49+
if [ "$(cat /run/nvidia/validations/workload-type)" != "vm-vgpu" ]; then echo vgpu-devices not needed, skipping validation; exit 0; fi;
5050
until [ -f /run/nvidia/validations/vgpu-devices-ready ]; do echo waiting for vGPU devices...; sleep 5; done;
5151
env:
5252
- name: NVIDIA_VISIBLE_DEVICES

0 commit comments

Comments
 (0)