mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-15 17:50:54 +00:00
2b155cf293
Signed-off-by: Matt Layher <mdlayher@gmail.com>
20 lines
511 B
Makefile
20 lines
511 B
Makefile
.PHONY: all _update monitnerr-1 monitnerr-2
|
|
|
|
all:
|
|
tar cf breakglass.tar --dereference sh \
|
|
&& breakglass monitnerr-1
|
|
|
|
monitnerr-1: DEVICE := monitnerr-1
|
|
monitnerr-1: _update
|
|
|
|
monitnerr-2: DEVICE := monitnerr-2
|
|
monitnerr-2: _update
|
|
|
|
_update:
|
|
gokr-packer \
|
|
-update=http://gokrazy:$(shell cat ~/.config/gokrazy/$(DEVICE).txt)@$(DEVICE)/ \
|
|
-hostname=$(DEVICE) \
|
|
github.com/gokrazy/breakglass \
|
|
github.com/gokrazy/serial-busybox \
|
|
github.com/mdlayher/consrv/cmd/consrv \
|
|
github.com/prometheus/node_exporter
|