Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
add avahi to other inline script instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Fisher committed Mar 6, 2014
1 parent 723f985 commit 6c57c76
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions contrib/vagrant/util/nodes_vagrantfile_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
vb.customize ["modifyvm", :id, "--memory", "$memory"]
end

config.vm.provision :shell, inline: <<-SCRIPT
# Avahi-daemon broadcasts the machine's hostname to local DNS.
# Therefore 'deis-controller.local' in this case.
sudo apt-get install -yq avahi-daemon
SCRIPT

# Enable [hostname].local autodiscovery between VMs
config.vm.provision :shell, inline: <<-SCRIPT
# Avahi-daemon broadcasts the machine's hostname to local DNS.
# So $id.local in this case
sudo apt-get install -yq avahi-daemon
sudo service avahi-daemon restart
echo "*.* @@192.168.61.100:514" > /etc/rsyslog.d/51-remote.conf
SCRIPT
Expand Down

0 comments on commit 6c57c76

Please sign in to comment.