VirtualBox

Changeset 18590 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 1, 2009 9:55:02 AM (16 years ago)
Author:
vboxsync
Message:

OVF: be more strict

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImpl.cpp

    r18588 r18590  
    310310static const osTypePattern g_osTypesPattern[] =
    311311{
    312     {"Windows*NT",    SchemaDefs_OSTypeId_WindowsNT4},
    313     {"Windows*XP",    SchemaDefs_OSTypeId_WindowsXP},
    314     {"Windows*2000",  SchemaDefs_OSTypeId_Windows2000},
    315     {"Windows*2003",  SchemaDefs_OSTypeId_Windows2003},
    316     {"Windows*Vista", SchemaDefs_OSTypeId_WindowsVista},
    317     {"Windows*2008",  SchemaDefs_OSTypeId_Windows2008},
     312    {"Windows NT",    SchemaDefs_OSTypeId_WindowsNT4},
     313    {"Windows XP",    SchemaDefs_OSTypeId_WindowsXP},
     314    {"Windows 2000",  SchemaDefs_OSTypeId_Windows2000},
     315    {"Windows 2003",  SchemaDefs_OSTypeId_Windows2003},
     316    {"Windows Vista", SchemaDefs_OSTypeId_WindowsVista},
     317    {"Windows 2008",  SchemaDefs_OSTypeId_Windows2008},
    318318    {"SUSE",          SchemaDefs_OSTypeId_OpenSUSE},
    319319    {"Novell",        SchemaDefs_OSTypeId_OpenSUSE},
    320     {"Red*Hat",       SchemaDefs_OSTypeId_RedHat},
     320    {"Red Hat",       SchemaDefs_OSTypeId_RedHat},
    321321    {"Mandriva",      SchemaDefs_OSTypeId_Mandriva},
    322322    {"Ubuntu",        SchemaDefs_OSTypeId_Ubuntu},
    323323    {"Debian",        SchemaDefs_OSTypeId_Debian},
    324324    {"QNX",           SchemaDefs_OSTypeId_QNX},
    325     {"Linux*2.4",     SchemaDefs_OSTypeId_Linux24},
    326     {"Linux*2.6",     SchemaDefs_OSTypeId_Linux26},
     325    {"Linux 2.4",     SchemaDefs_OSTypeId_Linux24},
     326    {"Linux 2.6",     SchemaDefs_OSTypeId_Linux26},
    327327    {"Linux",         SchemaDefs_OSTypeId_Linux},
    328328    {"OpenSolaris",   SchemaDefs_OSTypeId_OpenSolaris},
     
    330330    {"FreeBSD",       SchemaDefs_OSTypeId_FreeBSD},
    331331    {"NetBSD",        SchemaDefs_OSTypeId_NetBSD},
    332     {"Windows*95",    SchemaDefs_OSTypeId_Windows95},
    333     {"Windows*98",    SchemaDefs_OSTypeId_Windows98},
    334     {"Windows*Me",    SchemaDefs_OSTypeId_WindowsMe},
    335     {"Windows*3.",    SchemaDefs_OSTypeId_Windows31},
     332    {"Windows 95",    SchemaDefs_OSTypeId_Windows95},
     333    {"Windows 98",    SchemaDefs_OSTypeId_Windows98},
     334    {"Windows Me",    SchemaDefs_OSTypeId_WindowsMe},
     335    {"Windows 3.",    SchemaDefs_OSTypeId_Windows31},
    336336    {"DOS",           SchemaDefs_OSTypeId_DOS},
    337337    {"OS2",           SchemaDefs_OSTypeId_OS2}
     
    341341static const osTypePattern g_osTypesPattern64[] =
    342342{
    343     {"Windows*XP",    SchemaDefs_OSTypeId_WindowsXP_64},
    344     {"Windows*2003",  SchemaDefs_OSTypeId_Windows2003_64},
    345     {"Windows*Vista", SchemaDefs_OSTypeId_WindowsVista_64},
    346     {"Windows*2008",  SchemaDefs_OSTypeId_Windows2008_64},
     343    {"Windows XP",    SchemaDefs_OSTypeId_WindowsXP_64},
     344    {"Windows 2003",  SchemaDefs_OSTypeId_Windows2003_64},
     345    {"Windows Vista", SchemaDefs_OSTypeId_WindowsVista_64},
     346    {"Windows 2008",  SchemaDefs_OSTypeId_Windows2008_64},
    347347    {"SUSE",          SchemaDefs_OSTypeId_OpenSUSE_64},
    348348    {"Novell",        SchemaDefs_OSTypeId_OpenSUSE_64},
    349     {"Red*Hat",       SchemaDefs_OSTypeId_RedHat_64},
     349    {"Red Hat",       SchemaDefs_OSTypeId_RedHat_64},
    350350    {"Mandriva",      SchemaDefs_OSTypeId_Mandriva_64},
    351351    {"Ubuntu",        SchemaDefs_OSTypeId_Ubuntu_64},
    352352    {"Debian",        SchemaDefs_OSTypeId_Debian_64},
    353     {"Linux*2.4",     SchemaDefs_OSTypeId_Linux24_64},
    354     {"Linux*2.6",     SchemaDefs_OSTypeId_Linux26_64},
     353    {"Linux 2.4",     SchemaDefs_OSTypeId_Linux24_64},
     354    {"Linux 2.6",     SchemaDefs_OSTypeId_Linux26_64},
    355355    {"Linux",         SchemaDefs_OSTypeId_Linux26_64},
    356356    {"OpenSolaris",   SchemaDefs_OSTypeId_OpenSolaris_64},
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette