diff --git a/patches/cthon04-0002-runcthon-Remove-unnecessary-port-20049-from-rdma-mou.patch b/patches/cthon04-0002-runcthon-Remove-unnecessary-port-20049-from-rdma-mou.patch new file mode 100644 index 0000000..e3d12dc --- /dev/null +++ b/patches/cthon04-0002-runcthon-Remove-unnecessary-port-20049-from-rdma-mou.patch @@ -0,0 +1,54 @@ +From aa44e81fee3381c6640757ca9f5e31363fcd2837 Mon Sep 17 00:00:00 2001 +From: Anna Schumaker +Date: Tue, 7 Dec 2021 14:49:35 -0500 +Subject: [PATCH 2/2] runcthon: Remove unnecessary port=20049 from rdma mounts + +Signed-off-by: Anna Schumaker +--- + runcthon | 12 ------------ + 1 file changed, 12 deletions(-) + +diff --git a/runcthon b/runcthon +index 51296cef40ed..e96bb2190d9e 100755 +--- a/runcthon ++++ b/runcthon +@@ -53,36 +53,24 @@ sec=$5 + mntargs="-o proto=$proto,v4.0" + fi + fi +- if [ "$proto" = "rdma" ] ; then +- mntargs="$mntargs,port=20049" +- fi + elif [ $vers = "41" ]; then + if [ -n "$sec" ] ; then + mntargs="-o proto=$proto,sec=$sec,v4.1" + else + mntargs="-o proto=$proto,v4.1" + fi +- if [ "$proto" = "rdma" ] ; then +- mntargs="$mntargs,port=20049" +- fi + elif [ $vers = "42" ]; then + if [ -n "$sec" ] ; then + mntargs="-o proto=$proto,sec=$sec,v4.2" + else + mntargs="-o proto=$proto,v4.2" + fi +- if [ "$proto" = "rdma" ] ; then +- mntargs="$mntargs,port=20049" +- fi + else + if [ -n "$sec" ] ; then + mntargs="-o $proto,v$vers,sec=$sec" + else + mntargs="-o $proto,v$vers" + fi +- if [ "$proto" = "rdma" ] ; then +- mntargs="$mntargs,port=20049" +- fi + fi + + if [ $privatemnts -eq 1 ]; then +-- +2.34.1 +