Skip to content

Commit 6c57c76

Browse files
author
Matthew Fisher
committed
add avahi to other inline script instead
1 parent 723f985 commit 6c57c76

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

contrib/vagrant/util/nodes_vagrantfile_template.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,11 @@
1515
vb.customize ["modifyvm", :id, "--memory", "$memory"]
1616
end
1717

18-
config.vm.provision :shell, inline: <<-SCRIPT
19-
# Avahi-daemon broadcasts the machine's hostname to local DNS.
20-
# Therefore 'deis-controller.local' in this case.
21-
sudo apt-get install -yq avahi-daemon
22-
SCRIPT
23-
2418
# Enable [hostname].local autodiscovery between VMs
2519
config.vm.provision :shell, inline: <<-SCRIPT
2620
# Avahi-daemon broadcasts the machine's hostname to local DNS.
2721
# So $id.local in this case
22+
sudo apt-get install -yq avahi-daemon
2823
sudo service avahi-daemon restart
2924
echo "*.* @@192.168.61.100:514" > /etc/rsyslog.d/51-remote.conf
3025
SCRIPT

0 commit comments

Comments
 (0)