chore: update scripts

This commit is contained in:
Tiara Rodney 2026-03-14 20:13:25 +01:00
parent cfb9b7c591
commit 62cb0f8afd
No known key found for this signature in database
GPG key ID: 5CD8EC1D46106723
7 changed files with 24 additions and 22 deletions

View file

@ -1,5 +1,5 @@
#!/bin/sh
# Remove VM service domain entries from /etc/hosts. Requires root.
# Remove VM service domain entries from /etc/hosts.
set -eu
DOMAINS="
@ -15,7 +15,7 @@ accounts.tiararodney.com
"
for domain in $DOMAINS; do
sed -i "/[[:space:]]${domain}$/d" /etc/hosts
sudo sed -i "/[[:space:]]${domain}$/d" /etc/hosts
done
echo "==> /etc/hosts entries removed"