Skip to content

Instantly share code, notes, and snippets.

@defanator
Created February 21, 2025 13:13
Show Gist options
  • Save defanator/6af9238df81b2724d5e194f3823e1bd3 to your computer and use it in GitHub Desktop.
Save defanator/6af9238df81b2724d5e194f3823e1bd3 to your computer and use it in GitHub Desktop.
Vagrantfile for ARM macOS and VMWare Desktop/Fusion
Vagrant.configure("2") do |config|
config.vm.define "ubuntu2404_gyptazy", autostart: false do |cfg|
cfg.vm.box = "gyptazy/ubuntu24.04-server-arm64"
cfg.vm.box_version = "1.0.0"
cfg.vm.network "private_network", type: "dhcp"
#cfg.vm.synced_folder ".", "/vagrant"
cfg.vm.provision "shell",
inline: "printf \"%s\" \"vagrant ALL=(ALL:ALL) ALL\" >/etc/sudoers.d/vagrant-nopassw"
cfg.vm.provider :vmware_desktop do |v|
v.vmx["displayname"] = "Vagrant: Ubuntu 24.04 arm64 (gyptazy)"
end
end
config.vm.define "ubuntu2404_gutehall", autostart: false do |cfg|
cfg.vm.box = "gutehall/ubuntu24-04"
cfg.vm.box_version = "2025.02.20"
cfg.vm.network "private_network", type: "dhcp"
#cfg.vm.synced_folder ".", "/vagrant"
cfg.vm.provider :vmware_desktop do |v|
v.vmx["displayname"] = "Vagrant: Ubuntu 24.04 arm64 (gutehall)"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment