Skip to content

Commit

Permalink
add hostname mdns .local resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed May 24, 2014
1 parent a562a05 commit 3d0deee
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,28 @@ cat > /etc/avahi/services/http.service << EOF
</service-group>
EOF

cat > /etc/nsswitch.conf << EOF
# Begin /etc/nsswitch.conf
passwd: files
group: files
shadow: files
publickey: files
hosts: files mdns_minimal [NOTFOUND=return] dns myhostname
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
# End /etc/nsswitch.conf
EOF

cat > /etc/systemd/system/baresip.service << EOF
[Unit]
Description=baresip
Expand Down

0 comments on commit 3d0deee

Please sign in to comment.