aboutgitcodebugslistschat
path: root/slirp4netns.sh
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-08-29 21:09:37 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-08-30 19:43:31 +0200
commit0cb795e432f6b318b07a0e4878e041233e7d7f7c (patch)
tree6788d93dc2326e9b787127cd15734f6c3402befc /slirp4netns.sh
parentb6742d173c063192feb2072a17e60549e32c7442 (diff)
downloadpasst-0cb795e432f6b318b07a0e4878e041233e7d7f7c.tar
passt-0cb795e432f6b318b07a0e4878e041233e7d7f7c.tar.gz
passt-0cb795e432f6b318b07a0e4878e041233e7d7f7c.tar.bz2
passt-0cb795e432f6b318b07a0e4878e041233e7d7f7c.tar.lz
passt-0cb795e432f6b318b07a0e4878e041233e7d7f7c.tar.xz
passt-0cb795e432f6b318b07a0e4878e041233e7d7f7c.tar.zst
passt-0cb795e432f6b318b07a0e4878e041233e7d7f7c.zip
podman, slirp4netns.sh: Use --netns option on pasta's command line2022_08_29.0cb795e
...instead of PATH. This seems to be the only change needed in existing pasta integrations after patch: Use explicit --netns option rather than multiplexing with PID Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'slirp4netns.sh')
-rwxr-xr-xslirp4netns.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp4netns.sh b/slirp4netns.sh
index ff12a52..1d089b7 100755
--- a/slirp4netns.sh
+++ b/slirp4netns.sh
@@ -121,7 +121,7 @@ opt() {
# start() - Start pasta
start() {
- ${PASTA} ${PASTA_OPTS} ${PORT_ARGS} ${ns_spec}
+ ${PASTA} ${PASTA_OPTS} ${PORT_ARGS} --netns ${ns_spec}
[ ${RFD} -ne 0 ] && echo "1" >&${RFD} || :
}