You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hack/test-templates.sh
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -336,30 +336,30 @@ if [[ -n ${CHECKS["ssh-over-vsock"]} ]]; then
336
336
if [[ "$(limactl ls "${NAME}" --yq .vmType)"=="vz" ]];then
337
337
INFO "Testing SSH over vsock"
338
338
set -x
339
-
INFO "Testing LIMA_SSH_OVER_VSOCK=true environment"
339
+
INFO "Testing .ssh.overVsock=true configuration"
340
340
limactl stop "${NAME}"
341
341
# Detection of the SSH server on VSOCK may fail; however, a failing log indicates that controlling detection via the environment variable works as expected.
342
-
if!LIMA_SSH_OVER_VSOCK=true limactl start "${NAME}"2>&1| grep -i -E "(started vsock forwarder|Failed to detect SSH server on vsock)";then
342
+
if! limactl start --set '.ssh.overVsock=true'"${NAME}"2>&1| grep -i -E "(started vsock forwarder|Failed to detect SSH server on vsock)";then
343
343
set +x
344
344
diagnose "${NAME}"
345
-
ERROR "LIMA_SSH_OVER_VSOCK=true did not enable vsock forwarder"
345
+
ERROR ".ssh.overVsock=true did not enable vsock forwarder"
346
346
exit 1
347
347
fi
348
-
INFO 'Testing LIMA_SSH_OVER_VSOCK="" environment'
348
+
INFO 'Testing .ssh.overVsock=null configuration'
349
349
limactl stop "${NAME}"
350
350
# Detection of the SSH server on VSOCK may fail; however, a failing log indicates that controlling detection via the environment variable works as expected.
351
-
if!LIMA_SSH_OVER_VSOCK=""limactl start "${NAME}"2>&1| grep -i -E "(started vsock forwarder|Failed to detect SSH server on vsock)";then
351
+
if! limactl start --set '.ssh.overVsock=null'"${NAME}"2>&1| grep -i -E "(started vsock forwarder|Failed to detect SSH server on vsock)";then
352
352
set +x
353
353
diagnose "${NAME}"
354
-
ERROR "LIMA_SSH_OVER_VSOCK= did not enable vsock forwarder"
354
+
ERROR ".ssh.overVsock=null did not enable vsock forwarder"
355
355
exit 1
356
356
fi
357
-
INFO "Testing LIMA_SSH_OVER_VSOCK=false environment"
357
+
INFO "Testing .ssh.overVsock=false configuration"
358
358
limactl stop "${NAME}"
359
-
if!LIMA_SSH_OVER_VSOCK=false limactl start "${NAME}"2>&1| grep -i "skipping detection of SSH server on vsock port";then
359
+
if! limactl start --set '.ssh.overVsock=false'"${NAME}"2>&1| grep -i "skipping detection of SSH server on vsock port";then
360
360
set +x
361
361
diagnose "${NAME}"
362
-
ERROR "LIMA_SSH_OVER_VSOCK=false did not disable vsock forwarder"
362
+
ERROR ".ssh.overVsock=false did not disable vsock forwarder"
0 commit comments