Skip to content

Instantly share code, notes, and snippets.

@rsmartins78
Created May 9, 2018 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rsmartins78/da078387c1d35ae75380333c6efc9fac to your computer and use it in GitHub Desktop.
Save rsmartins78/da078387c1d35ae75380333c6efc9fac to your computer and use it in GitHub Desktop.
Vagrantfile example CentOS with provisioning script
Vagrant.configure("2") do |config|
config.vm.hostname = "docker"
config.vm.box = "centos/7"
config.vm.provision :shell, path: "install.sh"
config.vm.provider "virtualbox" do |virtualbox|
virtualbox.customize [ "modifyvm", :id, "--cpus", "1" ]
virtualbox.customize [ "modifyvm", :id, "--memory", "600" ]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment