This chapter will deal with disparate package managers and multiple ways of doing the same thing (which pretty much sums up Linux in general).
Because of that, we're going to use three different boxes in our Vagrantfile, as follows:
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "centos7" do |centos7|
centos7.vm.box = "centos/7"
centos7.vm.box_version = "1804.02"
end
config.vm.define "debian9" do |debian9|
debian9.vm.box = "debian/stretch64"
debian9.vm.box_version = "9.5.0"
end
config.vm.define "ubuntu1804" do |ubuntu1804|
ubuntu1804.vm.box = "ubuntu/bionic64"
ubuntu1804.vm.box_version = "20180927.0.0"
end
end
Spinning up these boxes (with vagrant up) will provide you with a CentOS installation, a...