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