This minor patch adds a simple regex to match "ReactOS" in "New VM
Wizard" and set desired OS type to Windows2003, as per
https://reactos.org/wiki/VirtualBox#Running_the_ReactOS_Live_CD
I hereby explicitly state that I am licensing the patch under the MIT
license: https://www.virtualbox.org/wiki/MIT%20license.
--
Michał Janiszewski
Index: wizards/newvm/UIWizardNewVMPageBasic1.cpp
===================================================================
--- wizards/newvm/UIWizardNewVMPageBasic1.cpp (revision 73096)
+++ wizards/newvm/UIWizardNewVMPageBasic1.cpp (working copy)
@@ -84,6 +84,8 @@
/* Set Windows 7 as default for "Windows". */
{ QRegExp( "Wi.*64", Qt::CaseInsensitive), "Windows7_64" },
{ QRegExp( "Wi.*32", Qt::CaseInsensitive), "Windows7" },
+ /* ReactOS wants to be considered as Windows 2003 */
+ { QRegExp( "Reac.*", Qt::CaseInsensitive), "Windows2003" },
/* Solaris: */
{ QRegExp("Sol.*11", Qt::CaseInsensitive), "Solaris11_64" },
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev