Skip to content

Instantly share code, notes, and snippets.

@gjohnson
Last active January 20, 2016 21:04

Revisions

  1. gjohnson revised this gist Jan 20, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Vagrantfile
    Original file line number Diff line number Diff line change
    @@ -10,5 +10,6 @@ Vagrant.configure(2) do |config|
    config.vm.synced_folder ".", "/vagrant"
    config.vm.provision "shell", inline: <<-SHELL
    sudo apt-get update
    sudo apt-get autoremove
    SHELL
    end
  2. gjohnson created this gist Jan 20, 2016.
    14 changes: 14 additions & 0 deletions Vagrantfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    required_plugins = %w( vagrant-faster vagrant-cachier vagrant-vbguest )
    required_plugins.each do |plugin|
    system "vagrant plugin install #{plugin}" unless Vagrant.has_plugin? plugin
    end

    Vagrant.configure(2) do |config|
    config.vm.box = "ubuntu/vivid64"
    config.vm.box_check_update = true
    config.vm.network "private_network", ip: "192.168.33.10"
    config.vm.synced_folder ".", "/vagrant"
    config.vm.provision "shell", inline: <<-SHELL
    sudo apt-get update
    SHELL
    end