Skip to content

Commit

Permalink
vsock: now also needed for the CI
Browse files Browse the repository at this point in the history
For the 'auto' mode.

So always enable it.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
  • Loading branch information
matttbe committed Jan 7, 2025
1 parent 0bff9c9 commit 08be0c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,6 @@ setup_env() { local mode
if [ -z "${INPUT_NET_BRIDGES}" ]; then
VIRTME_RUN_OPTS+=("--net")
fi

# To connect to the VM using VSock
VIRTME_RUN_OPTS+=("--server" "--port" "${INPUT_VSOCK_CID}")
fi

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

# To connect to the VM using VSock
VIRTME_RUN_OPTS+=("--server" "--port" "${INPUT_VSOCK_CID}")

OUTPUT_VIRTME="${RESULTS_DIR}/output.log"
TESTS_SUMMARY="${RESULTS_DIR}/summary.txt"
CONCLUSION="${RESULTS_DIR}/conclusion.txt"
Expand Down

0 comments on commit 08be0c8

Please sign in to comment.