From 58f75cd799cefa86a378a78599710de0099cb86a Mon Sep 17 00:00:00 2001 From: hc Date: Wed, 2 Oct 2024 11:15:50 +0800 Subject: added ssh agrent forwarding --- others/setup_2_openstackenv.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 others/setup_2_openstackenv.sh (limited to 'others/setup_2_openstackenv.sh') diff --git a/others/setup_2_openstackenv.sh b/others/setup_2_openstackenv.sh new file mode 100644 index 0000000..e56b66f --- /dev/null +++ b/others/setup_2_openstackenv.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# directories +mkdir ~/work +mkdir ~/work/mounts +mkdir ~/work/mounts/private +mkdir ~/work/mounts/public +mkdir ~/work/mounts/.localtmp + +touch ~/work/mounts/.passwd-s3fs +chmod 600 ~/work/mounts/.passwd-s3fs +echo "id:pass" > ~/work/mounts/.passwd-s3fs +sudo s3fs s3ch1 ~/work/mounts/private -o passwd_file=~/work/mounts/.passwd-s3fs -o url=https://s3.pub1.infomaniak.cloud -o allow_other -o use_cache=~/work/mounts/.localtmp/ -o umask=000 -o use_path_request_style +sudo s3fs s3ch1-public ~/work/mounts/public -o passwd_file=~/work/mounts/.passwd-s3fs -o url=https://s3.pub1.infomaniak.cloud -o allow_other -o use_cache=~/work/mounts/.localtmp/ -o umask=000 -o use_path_request_style + -- cgit v1.2.3-70-g09d2