In this section, we're going to be using both CentOS and Debian. This is because while software in the Linux world is fairly universal, some distributions choose specific defaults for things such as their web and mail servers.
Feel free to use the following Vagrantfile for this chapter:
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "centos1" do |centos1|
centos1.vm.box = "centos/7"
centos1.vm.network "private_network", ip: "192.168.33.10"
centos1.vm.hostname = "centos1"
centos1.vm.box_version = "1804.02"
end
config.vm.define "debian1" do |debian1|
debian1.vm.box = "debian/stretch64"
debian1.vm.network "private_network", ip: "192.168.33.11"
debian1.vm.hostname = "debian1...