You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if vagrant worked on newer arm based machines (Apple silicon, etc) as Virtualbox still doesn't have an arm64 release.
I was able to get it to work with Docker by doing the following. Would offer up a PR, but not sure how it would need to be integrated to keep the community happy.
Edit Vagrantfile and add QEMU compatible box above ubuntu/jammy64 block:
# 22.04 Generic Ubuntu with QEMU support for ARM macOS
config.vm.define "ubuntu64", primary: true do | ubuntu64 |
ubuntu64.vm.box = "tknerr/baseimage-ubuntu-22.04"
ubuntu64.vm.provision :shell, path: "Tools/vagrant/initvagrant.sh"
ubuntu64.vm.provider "docker" do |vb|
vb.image = "tknerr/baseimage-ubuntu:22.04"
vb.ports = [ "5760:5760", "5762:5762", "2222:22" ]
vb.has_ssh = true
vb.name = "ArduPilot"
end
ubuntu64.vm.boot_timeout = 1200
end
and change ubuntu/jammy64 to not be primary:
# 22.04 LTS EOL Apr 2032
#config.vm.define "jammy", primary: true do |jammy|
config.vm.define "jammy", autostart: false do |jammy|
Edit Tools/vagrant/initvagrant.sh, comment out resize, and add tzdata command to avoid prompt caused in later script:
I wouldn't mind a PR, but I think the changes could be a little less intrusive. See my PR for adding Noble support (#26985) for an example of where the resize step is skipped.
Basically after maximum compatability / not breaking existing behaviour. So changing jammy to not be primary is problematic as the vast majority of users will want that one.
@jonathan-k4 would be nice to get this in. I can possibly put together a PR based on your issue here, but I don't have any means of testing that it works on arm64.
Feature request
It would be great if vagrant worked on newer arm based machines (Apple silicon, etc) as Virtualbox still doesn't have an arm64 release.
I was able to get it to work with Docker by doing the following. Would offer up a PR, but not sure how it would need to be integrated to keep the community happy.
Vagrantfile
and add QEMU compatible box aboveubuntu/jammy64
block:and change
ubuntu/jammy64
to not be primary:Tools/vagrant/initvagrant.sh
, comment out resize, and add tzdata command to avoid prompt caused in later script:and comment out ptrace lines:
The text was updated successfully, but these errors were encountered: