Module installosh
source code
installosh [-d INSTALL_DIRECTORY] [OSH_CONFIG_FILE]
Installs osh on a cluster. The cluster is identified using remote
execution syntax, for example:
osh @fred [ installosh ]
If -d
is not specified, then installation is to the
standard site-packages directory (e.g. /usr/lib/python2.4/site-packages).
Otherwise, installation goes to INSTALL_DIRECTORY
.
(INSTALL_DIRECTORY
replaces the entire path, not just the
/usr
or /usr/lib
part of the path.) On each
node of the cluster, a .oshrc
files is created in the home
directory of the user specified for CLUSTER
. This file is
copied from OSH_CONFIG_FILE
, if specified. Otherwise,
~/.oshrc
is copied.
Not available through the API.