Sha256: 18f008a7d0fe95bb920e468dc808d00e38be41c4225f0c15b196cfcc28ff63c4

Contents?: true

Size: 1.26 KB

Versions: 2

Compression:

Stored size: 1.26 KB

Contents

Vagrant::Config.run do |config|
  # default config goes here
  config.vagrant.dotfile_name = ".vagrant"
  config.vagrant.home = "~/.vagrant"
  config.vagrant.host = :detect

  config.ssh.username = "vagrant"
  config.ssh.host = "localhost"
  config.ssh.port = 22
  config.ssh.forwarded_port_key = "ssh"
  config.ssh.max_tries = 10
  config.ssh.timeout = 30
  config.ssh.private_key_path = File.expand_path("keys/vagrant", Vagrant.source_root)
  config.ssh.forward_agent = false

  config.vm.auto_port_range = (2200..2250)
  config.vm.box_ovf = "box.ovf"
  config.vm.box_url = nil
  config.vm.base_mac = "0800279C2E42"
  config.vm.forward_port("ssh", 22, 2222, :auto => true)
  config.vm.disk_image_format = 'VMDK'
  config.vm.provisioner = nil
  config.vm.shared_folder_uid = nil
  config.vm.shared_folder_gid = nil
  config.vm.boot_mode = "vrdp"
  config.vm.system = :linux

  config.vm.customize do |vm|
    # Make VM name the name of the containing folder by default
    vm.name = File.basename(config.env.cwd) + "_#{Time.now.to_i}"
  end

  # 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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
vagrantup-0.6.4 config/default.rb
vagrant-0.6.4 config/default.rb