Created attachment 237101 [details] Patch to replace /etc/vbox with $PREFIX/etc/vbox Since virtualbox-ose 6.1.26 there is a new networks.conf file which had originally been placed in /etc/vbox. In 66635b2061daf this was been corrected for emulators/virtualbox-ose, this change does the same for vagrant's virtualbox plugin. Without this change, networks.conf has to be put into two places (e.g., by symlinking /usr/local/etc/vbox to /etc/vbox), which is a bit painful.
@Joe Thanks for the fast turnaround
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a9f7f114e5cc57963a1ae45720a5ade66aad1598 commit a9f7f114e5cc57963a1ae45720a5ade66aad1598 Author: Michael Gmelin <grembo@FreeBSD.org> AuthorDate: 2022-10-05 13:12:39 +0000 Commit: Michael Gmelin <grembo@FreeBSD.org> CommitDate: 2022-10-05 16:27:28 +0000 sysutils/vagrant: Respect hier(7) for networks.conf Since virtualbox-ose 6.1.26 there is a new networks.conf file which had originally been placed in /etc/vbox. In 66635b2061daf this was been corrected for emulators/virtualbox-ose, this change does the same for vagrant's virtualbox plugin. Before this change, networks.conf had to be put into two places (e.g., by symlinking /usr/local/etc/vbox to /etc/vbox). PR: 266845 Approved by: joe@thrallingpenguin.com (maintainer) sysutils/vagrant/Makefile | 7 +++++-- ...patch-plugins_providers_virtualbox_action_network.rb (new) | 11 +++++++++++ sysutils/vagrant/files/patch-templates_locales_en.yml (new) | 11 +++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-)