From aca49ea6741e8a0f8458a60616c1b1c415d3c4b5 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 23 Aug 2021 02:10:34 +0100 Subject: [PATCH] (vagrant) Permanently enable IPv6 on loopback Required by NSD; The Ubuntu image we use comes with it disabled so we need to enable it ourselves. --- Vagrantfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Vagrantfile b/Vagrantfile index 17d2e88..d731a85 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -47,6 +47,7 @@ Vagrant.configure("2") do |config| m.vm.provision "shell", :inline => <<-SH # Make sure we have IPv6 loopback (::1) sysctl -w net.ipv6.conf.lo.disable_ipv6=0 + echo -e "fs.inotify.max_user_instances=1024\nnet.ipv6.conf.lo.disable_ipv6=0" > /etc/sysctl.conf # Set environment variables so that the setup script does # not ask any questions during provisioning. We'll let the # machine figure out its own public IP.