From 814f3d48f67901a79b278bc49a9847cbf9e47ff1 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 12 May 2014 16:31:10 +0200 Subject: elchos is now a Reaktor submodule --- elchos/root-image/krebs/bin/start-ncdc.ship | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'elchos/root-image/krebs/bin/start-ncdc.ship') diff --git a/elchos/root-image/krebs/bin/start-ncdc.ship b/elchos/root-image/krebs/bin/start-ncdc.ship index 1d47bcfb..37d7cf45 100755 --- a/elchos/root-image/krebs/bin/start-ncdc.ship +++ b/elchos/root-image/krebs/bin/start-ncdc.ship @@ -3,7 +3,10 @@ set -euf #@include filehooker . /krebs/lib/filehooker #@include network -ncdc_user="hooker" + +# load elch-config +. /krebs/config.sh +ncdc_user="elch" useradd -m $ncdc_user ||: @@ -13,7 +16,7 @@ nick=$(cat /etc/hostname) echo "using nick $nick" ncdc_configure_nick "$nick" sleep 1 -dc_hub="adcs://elchhub.nsupdate.info:2781" +dc_hub="$DC_HUB" echo "connecting to $dc_hub" ncdc_configure_hub "$dc_hub" "elch" -- cgit v1.2.3