Last active
August 29, 2015 14:02
-
-
Save volkanunsal/0a15705b7c4909e686e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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