Vagrant: Your first vagrant node

Posted on Posted in Vagrant

Running your first vagrant node.

Requirements and setup:-
Im using Centos OS 7 and Oracles virtualbox.

Vagrant.configure(“2”) do |config|

config.vm.box = “centos/7”
config.vm.hostname = “mycentosmachine”
config.vm.network :private_network, ip: “192.168.0.42”

end

 

Leave a Reply

Your email address will not be published. Required fields are marked *