Skip to content

Instantly share code, notes, and snippets.

@pozgo
Last active March 20, 2016 20:32
Show Gist options
  • Save pozgo/1a37e8ad403e3bee8a4f to your computer and use it in GitHub Desktop.
Save pozgo/1a37e8ad403e3bee8a4f to your computer and use it in GitHub Desktop.
vagrant-dcoker-cloud
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "pozgo/centos7"
config.vm.define vm_name = "docker-cloud-node"
ip = "192.168.1.30"
# Edit bridge to match your own networking name-space (i.e. eth0)
config.vm.network "public_network", ip: ip, bridge: 'en0: Ethernet'
config.vm.provider "virtualbox" do |v|
v.memory = 4096
v.cpus = 1
end
# Run ansible provisioning
config.vm.provision :ansible do |ansible|
ansible.playbook = "provision.yml"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment