Created attachment 251794 [details] add vboxinit patch I hope this description explains its meaning fully: # Set the "Startup Mode" to "Automatic" for the virtual machine in # phpvirtualbox to automatically start the virtual machine during OS boot. phpvirtualbox uses the “Web Service” (WEBSERVICE) to configure and manage virtual machines, so we install the script only when the WEBSERVICE option is enabled. I'm using this script for ages - maybe 10 years…
Created attachment 251795 [details] File emulators/virtualbox-ose/files/vboxinit.in
Created attachment 251796 [details] File ${LOCALBASE}/etc/rc.d/vboxinit
Created attachment 251797 [details] File emulators/virtualbox-ose/files/vboxinit.in
Created attachment 251798 [details] File ${LOCALBASE}/etc/rc.d/vboxinit
Created attachment 251799 [details] add vboxinit patch
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d0deb35b6952e0d73c111c6534462dcbd5d77774 commit d0deb35b6952e0d73c111c6534462dcbd5d77774 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-07-09 21:25:25 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-07-09 21:25:25 +0000 emulators/virtualbox-ose{,-nox11}: add vboxinit start/stop script for VMs which is controlled from phpvirtualbox Set the "Startup Mode" to "Automatic" for the virtual machine in phpvirtualbox to automatically start the virtual machine during OS boot. This script also stops virtual machines during reboot even if vboxinit_enable="YES" is not present in /etc/rc.conf. phpvirtualbox uses the "Web Service" (WEBSERVICE) to configure and manage virtual machines, so we install the script only when the WEBSERVICE option is enabled. PR: 280062 emulators/virtualbox-ose-nox11/Makefile | 2 +- emulators/virtualbox-ose/Makefile | 4 +- emulators/virtualbox-ose/files/vboxinit.in (new) | 91 ++++++++++++++++++++++++ 3 files changed, 94 insertions(+), 3 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b9b090f62a08fe648332bd20af02deab794d0e03 commit b9b090f62a08fe648332bd20af02deab794d0e03 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-07-09 21:30:58 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-07-09 21:30:58 +0000 emulators/virtualbox-ose{,-nox11}-legacy: add vboxinit start/stop script for VMs which is controlled from phpvirtualbox Set the "Startup Mode" to "Automatic" for the virtual machine in phpvirtualbox to automatically start the virtual machine during OS boot. This script also stops virtual machines during reboot even if vboxinit_enable="YES" is not present in /etc/rc.conf. phpvirtualbox uses the "Web Service" (WEBSERVICE) to configure and manage virtual machines, so we install the script only when the WEBSERVICE option is enabled. PR: 280062 emulators/virtualbox-ose-legacy/Makefile | 4 +- .../virtualbox-ose-legacy/files/vboxinit.in (new) | 91 ++++++++++++++++++++++ emulators/virtualbox-ose-nox11-legacy/Makefile | 2 +- 3 files changed, 94 insertions(+), 3 deletions(-)
A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d03209bbcdd1c0abcd01a737a49c0785ce714d2d commit d03209bbcdd1c0abcd01a737a49c0785ce714d2d Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-07-09 21:30:58 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-07-20 09:38:04 +0000 emulators/virtualbox-ose{,-nox11}-legacy: add vboxinit start/stop script for VMs which is controlled from phpvirtualbox Set the "Startup Mode" to "Automatic" for the virtual machine in phpvirtualbox to automatically start the virtual machine during OS boot. This script also stops virtual machines during reboot even if vboxinit_enable="YES" is not present in /etc/rc.conf. phpvirtualbox uses the "Web Service" (WEBSERVICE) to configure and manage virtual machines, so we install the script only when the WEBSERVICE option is enabled. PR: 280062 (cherry picked from commit b9b090f62a08fe648332bd20af02deab794d0e03) emulators/virtualbox-ose-legacy/Makefile | 4 +- .../virtualbox-ose-legacy/files/vboxinit.in (new) | 91 ++++++++++++++++++++++ emulators/virtualbox-ose-nox11-legacy/Makefile | 2 +- 3 files changed, 94 insertions(+), 3 deletions(-)
A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a7ad8c6ed66dba46703feed4c1df0b47b0ed7482 commit a7ad8c6ed66dba46703feed4c1df0b47b0ed7482 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-07-09 21:25:25 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-07-20 09:38:08 +0000 emulators/virtualbox-ose{,-nox11}: add vboxinit start/stop script for VMs which is controlled from phpvirtualbox Set the "Startup Mode" to "Automatic" for the virtual machine in phpvirtualbox to automatically start the virtual machine during OS boot. This script also stops virtual machines during reboot even if vboxinit_enable="YES" is not present in /etc/rc.conf. phpvirtualbox uses the "Web Service" (WEBSERVICE) to configure and manage virtual machines, so we install the script only when the WEBSERVICE option is enabled. PR: 280062 (cherry picked from commit d0deb35b6952e0d73c111c6534462dcbd5d77774) emulators/virtualbox-ose-nox11/Makefile | 2 +- emulators/virtualbox-ose/Makefile | 4 +- emulators/virtualbox-ose/files/vboxinit.in (new) | 91 ++++++++++++++++++++++++ 3 files changed, 94 insertions(+), 3 deletions(-)