We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dd59d7 commit 257c991Copy full SHA for 257c991
node-installer/tests/integration-test-k3s.sh
@@ -42,7 +42,7 @@ echo "Waiting for node installer job to complete..."
42
kubectl wait -n kwasm --for=jsonpath='{.status.phase}'=Succeeded pod --selector=job-name=k3s-provision-kwasm --timeout=60s
43
44
# Verify the SystemdCgroup is set to true
45
-if sudo cat /var/lib/rancher/k3s/agent/etc/containerd/config.toml | grep -A2 "runtimes.spin.options" | grep -q "SystemdCgroup = true"; then
+if sudo cat /var/lib/rancher/k3s/agent/etc/containerd/config.toml | grep -A2 -E "runtimes\.(spin|'spin'|\"spin\")\.options" | grep -q "SystemdCgroup = true"; then
46
echo "SystemdCgroup is set to true"
47
else
48
echo "SystemdCgroup is not set to true"
0 commit comments