summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image/krebs/bin/filehooker_configure_ncdc.ship
blob: 62d3b4f73c35b9fe6e9d1fdc1e65d32535747421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"