Skip to content

Commit

Permalink
vsock: pass arguments to --vsock-connect
Browse files Browse the repository at this point in the history
To directly launch commands if any.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
  • Loading branch information
matttbe committed Dec 2, 2024
1 parent 5c2440d commit f2de737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2005,7 +2005,7 @@ case "${INPUT_MODE}" in
analyze "${@:-normal}"
;;
"connect")
exec "${VIRTME_RUN}" --mods none --vsock-connect --vsock-cid "${1:-${INPUT_VSOCK_CID}}"
exec "${VIRTME_RUN}" --mods none --vsock-connect "${*:2}" --vsock-cid "${1:-${INPUT_VSOCK_CID}}"
;;
"lcov2html")
setup_env "${@:-normal}"
Expand Down

0 comments on commit f2de737

Please sign in to comment.