Skip to content

Instantly share code, notes, and snippets.

@aristotelesbr
Created August 22, 2015 22:29
Show Gist options
  • Save aristotelesbr/50660403f4a1f3fc501f to your computer and use it in GitHub Desktop.
Save aristotelesbr/50660403f4a1f3fc501f to your computer and use it in GitHub Desktop.
Vagrant.configure(2) do |config|
config.vm.box = "fnando/hellobits-trusty32"
end
@mdamaceno
Copy link

Acho melhor deixar assim:

# _*_ mode: ruby _*_
# vi: set ft=ruby:

Vagrant.configure(2) do |config|
  config.vm.box = "fnando/hellobits-trusty32"

  config.vm.network "forwarded_port", guest: 80, host: 8080
  config.vm.network "forwarded_port", guest: 22, host: 2222

  config.ssh.forward_agent = true

  config.vm.provider :virtualbox do |vb|
    vb.name = "nome_que_você_quiser"
    vb.memory = '1024'
  end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment