Skip to content

Instantly share code, notes, and snippets.

@volkanunsal
Last active August 29, 2015 14:02
Show Gist options
  • Save volkanunsal/0a15705b7c4909e686e4 to your computer and use it in GitHub Desktop.
Save volkanunsal/0a15705b7c4909e686e4 to your computer and use it in GitHub Desktop.
Vagrant.configure("2") do |config|
config.omnibus.chef_version = :latest
config.librarian_chef.cheffile_dir = "./"
# Sets up the proxy VM
config.vm.define "phusion" do |v|
v.ssh.port = 22
v.ssh.username = "root"
v.ssh.private_key_path = "insecure_key"
# Creates a Docker provider within the proxy VM
v.vm.provider "docker" do |d|
d.cmd = ["/sbin/my_init","--enable-insecure-key"]
d.image = "phusion/passenger-full"
d.has_ssh = true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment