update the README.md for local ossh
@@ -10,15 +10,21 @@ A helper to make parts of ossh work locally
* git clone to your local disk
* add to bashrc:
```
-# ~/.bashrc OSSH helper
+# ~/.bashrc OSSH helper, /path/to/project means where you put git/openshift-tools/scripts/local-ops/ossh-local-helper
export OSSH_HELPER_BASEDIR=/path/to/project
+# setup your remote host(tower) user, usually it's your kerberos username
+export myUser=$kerberos_name
+
+# setup remote host, since it's for v3, so it's tower
+export bastion=tower.ops.rhcloud.com
+
# -v is optional
# --target-host is intentionally blank as it will take the very next argument as target-host
-alias ossh='${OSSH_HELPER_BASEDIR}/ossh.py3 -v --bastion-user myUser --bastion-host bastion.ops.example.com --target-user root --target-host'
+alias ossh="${OSSH_HELPER_BASEDIR}/ossh.py3 -v --bastion-user $myUser --bastion-host $bastion --target-user root --target-host'
# required for OSSH_HELPER_CACHE
source ${OSSH_HELPER_BASEDIR}/ossh.bashrc
-export OSSH_HELPER_BASTION=bastion.ops.example.com
+export OSSH_HELPER_BASTION=$bastion
export OSSH_HELPER_CACHE=${OSSH_HELPER_BASEDIR}/ossh-list.bash
```
