Changeset 86270 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Sep 24, 2020 4:05:49 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/UnattendedInstaller.cpp
r85275 r86270 74 74 else if (enmOsType >= VBOXOSTYPE_RedHat && enmOsType <= VBOXOSTYPE_RedHat_x64) 75 75 { 76 if ( strDetectedOSVersion.isEmpty() 77 || RTStrVersionCompare(strDetectedOSVersion.c_str(), "6") >= 0) 78 pUinstaller = new UnattendedRhel6And7Installer(pParent); 76 if (RTStrVersionCompare(strDetectedOSVersion.c_str(), "8") >= 0) 77 pUinstaller = new UnattendedRhel8Installer(pParent); 78 else if (RTStrVersionCompare(strDetectedOSVersion.c_str(), "7") >= 0) 79 pUinstaller = new UnattendedRhel7Installer(pParent); 80 else if (RTStrVersionCompare(strDetectedOSVersion.c_str(), "6") >= 0) 81 pUinstaller = new UnattendedRhel6Installer(pParent); 79 82 else if (RTStrVersionCompare(strDetectedOSVersion.c_str(), "5") >= 0) 80 83 pUinstaller = new UnattendedRhel5Installer(pParent); … … 84 87 pUinstaller = new UnattendedRhel3Installer(pParent); 85 88 else 86 pUinstaller = new UnattendedRhel6 And7Installer(pParent);89 pUinstaller = new UnattendedRhel6Installer(pParent); 87 90 } 88 91 else if (enmOsType >= VBOXOSTYPE_FedoraCore && enmOsType <= VBOXOSTYPE_FedoraCore_x64) 89 92 pUinstaller = new UnattendedFedoraInstaller(pParent); 90 93 else if (enmOsType >= VBOXOSTYPE_Oracle && enmOsType <= VBOXOSTYPE_Oracle_x64) 91 pUinstaller = new UnattendedOracleLinuxInstaller(pParent); 94 { 95 if (RTStrVersionCompare(strDetectedOSVersion.c_str(), "8") >= 0) 96 pUinstaller = new UnattendedOracleLinux8Installer(pParent); 97 else if (RTStrVersionCompare(strDetectedOSVersion.c_str(), "7") >= 0) 98 pUinstaller = new UnattendedOracleLinux7Installer(pParent); 99 else if (RTStrVersionCompare(strDetectedOSVersion.c_str(), "6") >= 0) 100 pUinstaller = new UnattendedOracleLinux6Installer(pParent); 101 else 102 pUinstaller = new UnattendedOracleLinux6Installer(pParent); 103 } 92 104 #if 0 /* doesn't work, so convert later. */ 93 105 else if (enmOsType == VBOXOSTYPE_OpenSUSE || enmOsType == VBOXOSTYPE_OpenSUSE_x64) … … 1077 1089 * 1078 1090 * 1079 * Implementation UnattendedRhel6 And7Installer functions1091 * Implementation UnattendedRhel6Installer functions 1080 1092 * 1081 1093 */ 1082 1094 ////////////////////////////////////////////////////////////////////////////////////////////////////// 1083 HRESULT UnattendedRhel6 And7Installer::addFilesToAuxVisoVectors(RTCList<RTCString> &rVecArgs, RTCList<RTCString> &rVecFiles,1095 HRESULT UnattendedRhel6Installer::addFilesToAuxVisoVectors(RTCList<RTCString> &rVecArgs, RTCList<RTCString> &rVecFiles, 1084 1096 RTVFS hVfsOrgIso, bool fOverwrite) 1085 1097 {
Note:
See TracChangeset
for help on using the changeset viewer.