Compare commits
2 Commits
7d41abd543
...
9d72355caf
Author | SHA1 | Date |
---|---|---|
|
9d72355caf | |
|
d7be21524c |
5
Makefile
5
Makefile
|
@ -1,3 +1,6 @@
|
||||||
|
build:
|
||||||
|
go build
|
||||||
|
|
||||||
farm001:
|
farm001:
|
||||||
./go-nsupdate \
|
./go-nsupdate \
|
||||||
--tsig-algorithm=hmac-sha512 \
|
--tsig-algorithm=hmac-sha512 \
|
||||||
|
@ -50,5 +53,5 @@ make-keys:
|
||||||
sudo tsig-keygen -a hmac-sha512 hpdevone.lab.wit.org
|
sudo tsig-keygen -a hmac-sha512 hpdevone.lab.wit.org
|
||||||
|
|
||||||
push:
|
push:
|
||||||
git commit -a
|
-git commit -a
|
||||||
git push wit jcarr
|
git push wit jcarr
|
||||||
|
|
4
main.go
4
main.go
|
@ -91,8 +91,8 @@ func main() {
|
||||||
log.Printf("wait...")
|
log.Printf("wait...")
|
||||||
|
|
||||||
if err := update.Done(); err != nil {
|
if err := update.Done(); err != nil {
|
||||||
log.Printf("update done: %v", err)
|
log.Printf("update failed: %v", err)
|
||||||
} else {
|
} else {
|
||||||
log.Printf("update done")
|
log.Printf("update worked")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue