Skip to content

Instantly share code, notes, and snippets.

@ssmythe
Last active February 2, 2016 21:53
Show Gist options
  • Save ssmythe/d6204cad2643d6ef568b to your computer and use it in GitHub Desktop.
Save ssmythe/d6204cad2643d6ef568b to your computer and use it in GitHub Desktop.
CentOS6 Vagrantfile that provisions apache with simple Hello World index.html
# Rename this file to 'Vagrantfile'
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "bento/centos-6.7"
config.vm.network "public_network"
config.vm.hostname = "signpost"
config.vm.provision "shell", path: "install-base-centos6.sh"
config.vm.provision "shell", path: "install-apache-centos6.sh"
config.vm.provider "virtualbox" do |v|
v.cpus = 2
v.memory = 4096
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment