Vagrant.configure("2") do |config| config.vm.box = "ubuntu/focal64" config.vm.box_version = "20211026.0.0" config.vm.provision "shell", inline: "echo 'sudo su -' >> .bashrc" config.vm.provision "shell", inline: "apt update" config.vm.provision "shell", inline: "apt install -y conntrack bridge-utils net-tools resolvconf jq tree" config.vm.provision "shell", inline: "echo 'nameserver 8.8.8.8' > /etc/resolvconf/resolv.conf.d/head" config.vm.provision "shell", inline: "resolvconf -u" config.vm.network "private_network", ip: "192.168.50.10" config.vm.network "forwarded_port", guest: 22, host: 60510, auto_correct: true, id: "ssh" config.vm.synced_folder "./", "/vagrant", disabled: true config.vm.provider "virtualbox" do |spec| spec.memory = "2048" spec.cpus = "2" spec.linked_clone = true end end