add hosts file

master
an 2019-07-25 00:51:53 -04:00
parent 63a6edb366
commit a57fe7898f
2 changed files with 17 additions and 0 deletions

8
applications/hosts Normal file
View File

@ -0,0 +1,8 @@
127.0.0.1 localhost rain.local rain heavenisin.space mu.heavenisin.space
::1 localhost rain.local rain heavenisin.space mu.heavenisin.space
192.168.1.7 Alisons-Mac-mini.local
fe80::ccd:17e6:bdfb:c61b%enp1s0 Alisons-Mac-mini.local
192.168.1.1 router.local
fe80::daa7:56ff:fe95:94b2%enp1s0 router.local

9
scripts/cmds/build-hosts.fish Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env fish
cd ~/src/hosts
git pull
sudo sh -c "cat $HOME/src/git-scripts/applications/hosts > /etc/hosts"
sudo sh -c "cat $HOME/src/hosts/hosts >> /etc/hosts"
## EOF