- MacOS (arm)
- Rosetta2
- Packer
- Vagrant
- VMware Fusion
- Homebrew
- GNU Make
- Devbox (optional): Can be used to install Packer & Vagrant in isolated environment
vagrant-vmware-desktop
--> via Vagrent Pluginsvagrant-vmware-utility
--> via Homebrew Cask- Requires Rosetta
To install Rosetta:
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
make image
make vagrant-add
Initialize the Packer project:
packer init wordpress
Build the image and Box wuth Packer:
packer build wordpress
Add the Vagrant Box using the packer_wordpress_vmware_arm64.box
that is a result of the Packer build.
vagrant box add DoctorDan/Wordpress packer_wordpress_vmware_arm64.box
(optional) If a Vagrantfile doesn't already exist use vagrant init to create one:
vagrnat init DoctorDan/Wordpress
Start up the Vagrant Box:
vagrant up
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "DoctorDan/Wordpress"
config.ssh.insert_key = false
config.ssh.password = "vagrant"
config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
end