From 1fa15dd59e7dc58f4331305b9f401d3aabfa53cd Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 17 Mar 2014 07:51:03 +0100 Subject: filehooker: initial commit using archiso magic scripts --- .../root-image/krebs/bin/filehooker_configure_ncdc.ship | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 filehooker/root-image/krebs/bin/filehooker_configure_ncdc.ship (limited to 'filehooker/root-image/krebs/bin/filehooker_configure_ncdc.ship') diff --git a/filehooker/root-image/krebs/bin/filehooker_configure_ncdc.ship b/filehooker/root-image/krebs/bin/filehooker_configure_ncdc.ship new file mode 100755 index 00000000..62d3b4f7 --- /dev/null +++ b/filehooker/root-image/krebs/bin/filehooker_configure_ncdc.ship @@ -0,0 +1,15 @@ +#!/usr/bin/env ship +#TODO waiting for ship2 +#@info +#@strict +set -euf +#@include filehooker +. /krebs/lib/filehooker + +dc_hub="adcs://elch.nsupdate.info:2781" +nick="$(cat /etc/hostname)" + +ncdc_install + +ncdc_configure_nick "$nick" +ncdc_configure_hub "$dc_hub" -- cgit v1.2.3