- If you already have the pre-request installed, you can skip this step and start directly from step 4. If you use the predefined vagrant file to establish the environment, first, you need to install vagrant if it is not already installed. Then you need to go to the IPBased-VM directory under the recipe folder:
$ cd chapter11-recipe4/IPBased-VM/
You will need to change the network interface name in the Vagrant file to match your machine network interface:
$ vi Vagrantfile
Change the en0 to match your machine network interface and save the file. Then you need to start the VMs installation:
$ vagrant up
The installation time should take between 15-20 min so it is a good time to get a coffee.
- Now use he vagrant ssh command ...