summaryrefslogtreecommitdiffstats
path: root/run/run-ssh.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2022-09-01 01:34:15 +0200
committerSuren A. Chilingaryan <csa@suren.me>2022-09-01 01:34:15 +0200
commit4616a04086c1f9248008add524a9cf74ffecca33 (patch)
treed977ff2cd316e797579c2280ad836ef4887a8544 /run/run-ssh.sh
parent0ae9593171f8315c7e4d22e0d3abd48c3fe6d968 (diff)
downloadccpi-4616a04086c1f9248008add524a9cf74ffecca33.tar.gz
ccpi-4616a04086c1f9248008add524a9cf74ffecca33.tar.bz2
ccpi-4616a04086c1f9248008add524a9cf74ffecca33.tar.xz
ccpi-4616a04086c1f9248008add524a9cf74ffecca33.zip
CAP_ADD SYS_ADMIN to enable use of perf, etc.
Diffstat (limited to 'run/run-ssh.sh')
-rw-r--r--run/run-ssh.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run/run-ssh.sh b/run/run-ssh.sh
index 86f994f..6ae64d2 100644
--- a/run/run-ssh.sh
+++ b/run/run-ssh.sh
@@ -10,4 +10,4 @@ echo " ssh -L $ssh_port:localhost:$ssh_port $(hostname)"
echo " and connect locally "
echo " ssh -p $ssh_port localhost"
-podman run --name "ccpi-run" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -p ${ssh_port}:2222/tcp $volumes ${image} /usr/sbin/sshd -D -p 2222
+podman run --name "ccpi-run" -it --rm $options -p ${ssh_port}:2222/tcp $volumes ${image} /usr/sbin/sshd -D -p 2222