Vagrantfile syntax

A Vagrantfile uses the Ruby language syntax but no knowledge of Ruby is required. It is a simple, expressive, and easy-to-understand language when using the Vagrantfile. In most cases you will simply be setting a variable and a value, such as config.vm.box = "ubuntu/trusty64" , which sets the box to ubuntu/trusty64, the 64-bit version of Ubuntu 14.04.

A Vagrantfile configuration is contained within the configure block. The first line is Vagrant.configure("2") do |config| and the last line is end. Within this block we can define all sorts of values, such as the Vagrant box, networking, filesystems, provisioning, and more. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.181.52