From 0876a76c6146589bbbc476d07dc403b915644d7f Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 5 Feb 2015 00:54:31 -0500 Subject: [PATCH] Fix for new version of API --- slides/the-vagrantfile.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slides/the-vagrantfile.md b/slides/the-vagrantfile.md index 82bef5a..b897174 100644 --- a/slides/the-vagrantfile.md +++ b/slides/the-vagrantfile.md @@ -1,12 +1,12 @@ ## The Vagrantfile ``` -Vagrant::Config.run do |config| +Vagrant.configure(2) do |config| # Installs the operating system config.vm.box = 'ubuntu/trusty64' # Configures the virtual machine - config.vm.network :hostonly, '192.168.111.10' + config.vm.network 'private_network', ip: '192.168.111.10' config.vm.synced_folder 'code/', '/home/vagrant/app' # Provisions the system