Has anyone successfully run the Vagrant Dataverse on a M1/2/4 mac? The initial issue we ran into was the providers needed to be swapped so we tried to use vmware instead of vbox. Installed fusion 13 pro personal edition, made some changes, got farther... then ran into issues with the shared filesystem (HGFS). We tried to use vagrant-sshfs to get around this and ran into some more issues.
Wanted to check if I was missing something obvious before I dig in deeper.
Do you mean the Vagrantfile at https://github.com/gdcc/dataverse-ansible ?
@Philip Durbin ๐ yes, that is the repo I am starting with
Hmm, I'm pretty sure that Vagrantfile is intended for development purposes, for working on the Ansible code.
Is that what you're trying to do? Gear up to contribute to that repo?
yes, I was planning on using to test some changes to ansible. We have
been using an aws instance with the roles, but the feedback loop is a lot faster with a local instance
Let's check with Don tomorrow to see if he's tested with M1 etc.
@Don Sizemore just curious if you've tried Vagrant on M1.
@Philip Durbin ๐ I have not as I have an M2 these days. Want me to test that?
Thanks @Don Sizemore , anything with arm64 architecture will help to get another data point. We've tested with 2 machines here and ran into same issue
Steps:
config.vm.provider "vmware_desktop" do |vmware|
vmware.vmx["tools.upgrade.policy"] = "manual"
vmware.gui = false
vmware.ssh_info_public = true
vmware.allowlist_verified = true
vmware.linked_clone = false
vmware.vmx["ethernet0.virtualdev"] = "vmxnet3"
vmware.vmx["memsize"] = "8192"
vmware.vmx["numvcpus"] = "4"
end
The error you would encounter is
HGFS was never found on the running virtual machine. This must be
installed either through VMware tools or Open VM Tools. HGFS is
required for shared folders to work properly. Please install either
the VMware tools or Open VM Tools and try again.
I've dug through the Vagrant issue queue and this issues seems to pop up and hung around, I tried some of the solutions suggested but with no luck -
https://github.com/hashicorp/vagrant/issues/6775
Does this mean I would need Fusion Pro 13 to test?
Probably, or parallels or some other provider, I don't think vbox is supported in arm64. VMware Fusion Pro 13 Personal edition is free, so we went with that to test
It's funny, https://www.virtualbox.org/wiki/Downloads says "macOS / Apple Silicon hosts" so I'd think M1 would be supported.
If I clone the ansible repo and run vagrant up the error I immediately get (on is:
dataverse-ansible % vagrant up
The provider 'vmware_desktop' could not be found, but was requested to
back the machine 'default'. Please use a provider that exists.
Vagrant knows about the following providers: docker, hyperv, virtualbox
https://app.vagrantup.com/bento/boxes/rockylinux-9, it could be the box doesn't support vbox, i'll dig in a little more
A follow up on this, a switch to a different base box resolved the build issue for vmware
config.vm.box = "bento/rockylinux-9-arm64"
postgres_redhat.yml also needed to be updated to use an aarch64 friendly version
Interesting! Do you want to update the README for us?
Thanks, yes -- i'll submit a PR for the README shortly. I'll submit a longer PR with some logic switching based on if using osx or not for the postgres role a bit later, that one has an issue i'm still working out, something is not quite right with the GPG checks and I turned off for now just to get building. It is a postgres/yum/repo issue not related to dataverse
Great! Yes! Please send all the PRs!
Last updated: Oct 30 2025 at 06:21 UTC