Skip to content

Instantly share code, notes, and snippets.

@varunchopra
Created April 26, 2018 14:15
Show Gist options
  • Save varunchopra/9ae2aad425657fb16d71b98f16bfc657 to your computer and use it in GitHub Desktop.
Save varunchopra/9ae2aad425657fb16d71b98f16bfc657 to your computer and use it in GitHub Desktop.
Vagrant.configure("2") do |config|
config.vm.define "workstation", primary: true do |workstation|
workstation.vm.box = "generic/rhel7"
workstation.vm.hostname = "workstation.example.com"
workstation.vm.synced_folder "../Ansible", "/workspace"
workstation.vm.network "private_network", ip: "10.0.0.10"
workstation.vm.provider "virtualbox" do |vb|
vb.memory = "512"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment