Skip to content

Commit ffec849

Browse files
committed
Merge branch 'latest' into net
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
2 parents a662fc9 + 08be0c8 commit ffec849

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

entrypoint.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,6 @@ setup_env() { local mode
385385
if [ -z "${INPUT_NET_BRIDGES}" ]; then
386386
VIRTME_RUN_OPTS+=("--net")
387387
fi
388-
389-
# To connect to the VM using VSock
390-
VIRTME_RUN_OPTS+=("--server" "--port" "${INPUT_VSOCK_CID}")
391388
fi
392389

393390
if [ -n "${INPUT_NET_BRIDGES}" ]; then
@@ -404,6 +401,9 @@ setup_env() { local mode
404401
--memory "${INPUT_RAM}"
405402
)
406403

404+
# To connect to the VM using VSock
405+
VIRTME_RUN_OPTS+=("--server" "--port" "${INPUT_VSOCK_CID}")
406+
407407
OUTPUT_VIRTME="${RESULTS_DIR}/output.log"
408408
TESTS_SUMMARY="${RESULTS_DIR}/summary.txt"
409409
CONCLUSION="${RESULTS_DIR}/conclusion.txt"

0 commit comments

Comments
 (0)