summaryrefslogtreecommitdiff
path: root/Makefile
blob: d5563d213d4012478bd6cf662b3c5261414fd9a3 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
bastion:
	./go-nsupdate \
		--tsig-algorithm=hmac-sha512 \
		--tsig-secret="+jmA1sPgduPR3X7wBn16KsOD3XZQYkPOHXzr4+8IvNvQATO5FfoxinHXJLloWABN+5n56F5Fuvf41+D/RL89UA==" \
		-i enp1s0f3 bastion.lab.wit.org

bastion2:
	./go-nsupdate \
		--tsig-algorithm=hmac-sha512 \
		--tsig-secret="y3q4ullOenXIzzMQVh+iazMGW0f4Qr+PmAT/zAZZ09HrK5ftYWFwlIEdRq5XPRmEA+nzDO47uJ95+/xNOgbNzQ==" \
		-i enp1s0f0 bastion2.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

hpdevone-bastion:
	./go-nsupdate \
		--tsig-algorithm=hmac-sha512 \
		--tsig-secret="+jmA1sPgduPR3X7wBn16KsOD3XZQYkPOHXzr4+8IvNvQATO5FfoxinHXJLloWABN+5n56F5Fuvf41+D/RL89UA==" \
		-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 bastion2.lab.wit.org
	tsig-keygen -a hmac-sha512 bastion.lab.wit.org
	sudo tsig-keygen -a hmac-sha512 hpdevone.lab.wit.org

push:
	git commit -a
	git push wit jcarr