Vagrant.configure("2") do |config| config.vm.box = "generic/ubuntu1804" config.vm.provision "shell", path: "init.sh", privileged: false config.vm.synced_folder "./", "/home/vagrant/cw", type: "nfs", nfs_version: 4, "nfs_udp": false, mount_options: ["rw", "vers=4", "tcp", "nolock"] config.vm.provider :libvirt do |libvirt| libvirt.cpus = 4 end end