improve vboxwrapper network setup#6111
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (3)
- samples/vboxwrapper/vbox_vboxmanage.cpp: Language not supported
- samples/vboxwrapper/vboxjob.cpp: Language not supported
- samples/vboxwrapper/vboxjob.h: Language not supported
|
I already tested the modifications on Linux with CMS Tasks from LHC@home. @Crystal-Pellet @NenTech |
|
I'll review the code in a couple of hours and merge if it's good. |
|
This PR is working on MacOS. This changes are not fixing the weird DNS issue I have. |
|
This PR is working on Windows. |
|
The comments in #6018 say that it works. |
On Mac, the BOINC VM's are never shown in the VBox manager. If this causes crashes for you, there should be a difference in handling different processes on Windows. On Mac a seperate proces is created for every VM instance and the home location is linked to the instance. |
VirtualBox manual suggests
virtionetwork driver to be the best choice for (recent) Linux guests.Nonetheless, when a Linux VM is created without a driver is explicitly set, it configures an
Intel Proemulation, most likely for maximum compatibility.Further information can be found here:
https://www.virtualbox.org/manual/topics/networkingdetails.html
This PR sets
virtioas default driver if a Linux guest can be assumed.Otherwise it keeps the default
Intel Pro.In addition it allows to manually overrride the selection using
<vm_network_driver>custom_name</vm_network_driver>invbox_job.xml.Also added to
vbox_job.xml:An option
enable_nat_dns_host_resolverwhich specifies whether the VirtualBox NAT engine uses the host system's resolver mechanisms to handle DNS requests.