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