Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
h2(#copy_config). Initialize the installer
+Replace "xarv1" with the cluster id you selected earlier.
+
<notextile>
-<pre><code>./installer.sh initialize ~/setup-arvados-xarv1 {{local_params_src}} {{config_examples_src}}
-cd ~/setup-arvados-xarv1
+<pre><code>CLUSTER=xarv1
+./installer.sh initialize ~/setup-arvados-${CLUSTER} {{local_params_src}} {{config_examples_src}}
+cd ~/setup-arvados-${CLUSTER}
</code></pre>
</notextile>
# This will be populated by loadconfig()
declare GITTARGET
+checktools() {
+ MISSING=''
+ for a in git ip ; do
+ if ! which $a ; then
+ MISSING="$MISSING $a"
+ fi
+ done
+ if [[ -n "$MISSING" ]] ; then
+ echo "Some tools are missing, please make sure you have the 'git' and 'iproute2' packages installed"
+ exit 1
+ fi
+}
+
sync() {
local NODE=$1
local BRANCH=$2
exit
fi
+ checktools
+
set +u
SETUPDIR=$1
PARAMS=$2
NODE=$1
set -u
+ checktools
+
loadconfig
if grep -rni 'fixme' ${CONFIG_FILE} ${CONFIG_DIR} ; then