chore: update scripts
This commit is contained in:
parent
cfb9b7c591
commit
62cb0f8afd
7 changed files with 24 additions and 22 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue