summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5c8b596328087aba28a246a5416f0513936d5bf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
bastion:
	./go-nsupdate \
		--tsig-algorithm=hmac-sha512 \
		--tsig-secret="+jmA1sPgduPR3X7wBn16KsOD3XZQYkPOHXzr4+8IvNvQATO5FfoxinHXJLloWABN+5n56F5Fuvf41+D/RL89UA==" \
		-i enp1s0f3 bastion.lab.wit.org

hpdevone:
	./go-nsupdate \
		--tsig-algorithm=hmac-sha512 \
		--tsig-secret="uf7tVM0ePWiSl0HtLNJVP7/DH/WuNkugxS19uXfN+k9V+avixXg/fmIS31FjR/kscvgMmkS+sspB83WjYXGU+w==" \
	       	-i wlo1 hpdevone.lab.wit.org

setdate:
	# apt install ntpdate
	ntpdate pool.ntp.org

check:
	./go-nsupdate \
		--tsig-algorithm=hmac-sha512 \
		--tsig-secret="uf7tVM0ePWiSl0HtLNJVP7/DH/WuNkugxS19uXfN+k9V+avixXg/fmIS31FjR/kscvgMmkS+sspB83WjYXGU+w==" \
	       	-i wlo1 check.lab.wit.com

make-keys:
	tsig-keygen -a hmac-sha512 bastion.lab.wit.org
	sudo tsig-keygen -a hmac-sha512 hpdevone.lab.wit.org

push:
	git push wit jcarr