nixos-configs/hack/cleanupts.sh

7 lines
186 B
Bash
Raw Normal View History

#!/usr/bin/env bash
for host in 192.168.2.32 192.168.2.33 192.168.2.34 192.168.2.35; do
ssh root@$host systemctl stop tailscaled.service
ssh root@$host ip link delete tailscale0
done