ops: filter for user on tailscale

This commit is contained in:
Kat Inskip 2023-01-24 14:06:46 -08:00
parent 18b03e5d6a
commit d3c0fd5b3d
Signed by: kat
GPG key ID: 465E64DECEA8CF0F

View file

@ -153,6 +153,9 @@ func main() {
}
for _, device := range tailnet.Devices {
if device.User != "kat@inskip.me" {
continue
}
device_name := strings.Split(device.Name, ".")[0]
ipv4 := DNSRecord{
Name: device_name,