Skip to content

Instantly share code, notes, and snippets.

@p0bailey
Created October 11, 2016 15:05
Show Gist options
  • Save p0bailey/7a1359bf27d53ec1c266651abce5507f to your computer and use it in GitHub Desktop.
Save p0bailey/7a1359bf27d53ec1c266651abce5507f to your computer and use it in GitHub Desktop.
Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provision :hosts do |provisioner|
provisioner.autoconfigure = true
end
#config.vbguest.auto_update = false
config.vm.define "centos" do |centos|
#centos.vm.box = "p0bailey/trusty"
centos.vm.box = "centos/7"
centos.vm.network :private_network, ip: "192.168.56.111"
centos.vm.hostname = "centso.local.com"
centos.ssh.insert_key = false
centos.vm.provider "virtualbox" do |v|
v.customize [ "modifyvm", :id, "--cpus", "1" ]
v.customize [ "modifyvm", :id, "--memory", "512" ]
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment