Browse Source

Install Avahi first

umbrel-beta
Luke Childs 5 years ago
parent
commit
a1a886e6d2
  1. 10
      Vagrantfile

10
Vagrantfile

@ -42,6 +42,11 @@ Vagrant.configure(2) do |config|
apt-get update
SHELL
# Install Avahi
config.vm.provision "shell", inline: <<-SHELL
apt-get install -y avahi-daemon avahi-discover libnss-mdns
SHELL
# Install Umbrel
config.vm.provision "shell", inline: <<-SHELL
apt-get install -y git
@ -51,11 +56,6 @@ Vagrant.configure(2) do |config|
sed -i 's/umbrel.local/#{config.vm.hostname}.local/g' docker-compose.yml
SHELL
# Install Avahi
config.vm.provision "shell", inline: <<-SHELL
apt-get install -y avahi-daemon avahi-discover libnss-mdns
SHELL
# Message
config.vm.post_up_message = "#{umbrelLogo}\nUmbrel development environment ready: http://#{config.vm.hostname}.local"
end

Loading…
Cancel
Save