vaguerent/config/default.rb
Mitchell Hashimoto d5a7ca6159 config.ssh.shell now contains full shell command
Before, it only contained the shell executable and "-l" was magically
appended to it. However, every shell doesn't support "-l" and maybe "-l"
isn't even the behavior that users want!

Therefore, the config.ssh.shell command must now contain the full
command to execute.
2012-05-23 15:30:16 -07:00

31 lines
864 B
Ruby

Vagrant.configure("1") do |config|
# default config goes here
config.vagrant.dotfile_name = ".vagrant"
config.vagrant.host = :detect
config.ssh.username = "vagrant"
config.ssh.host = "127.0.0.1"
config.ssh.guest_port = 22
config.ssh.max_tries = 100
config.ssh.timeout = 10
config.ssh.forward_agent = false
config.ssh.forward_x11 = false
config.ssh.shell = "bash -l"
config.vm.auto_port_range = (2200..2250)
config.vm.box_url = nil
config.vm.base_mac = nil
config.vm.forward_port 22, 2222, :name => "ssh", :auto => true
config.vm.boot_mode = "headless"
config.vm.guest = :linux
# Share the root folder. This can then be overridden by
# other Vagrantfiles, if they wish.
config.vm.share_folder("v-root", "/vagrant", ".")
config.nfs.map_uid = :auto
config.nfs.map_gid = :auto
config.package.name = 'package.box'
end