Vagrant.configure("2") do |config| config.vm.box = "centos/7" #config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1" config.vm.network "private_network", ip: "192.168.56.2" config.vm.provider "virtualbox" do |vb| vb.memory = "1024" vb.cpus = 2 end config.vm.provision "shell", inline: <<-SHELL yum install mc epel-release httpd net-tools -y yum update -y --skip-broken systemctl enable --now httpd SHELL end