Changeset 94173 in vbox for trunk/src/VBox/Main
- Timestamp:
- Mar 11, 2022 2:59:01 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/UnattendedInstaller.cpp
r93405 r94173 874 874 return hrc; 875 875 } 876 877 /* Don't include menu.cfg which may default (as most Debians do) to some vanilla menu item. txt.cfg has command 878 * kernel line options pointing to our preseed file. */ 879 vecLineNumbers = pEditor->findTemplate("include", RTCString::CaseInsensitive); 880 for (size_t i = 0; i < vecLineNumbers.size(); ++i) 881 if (pEditor->getContentOfLine(vecLineNumbers[i]).startsWithWord("include", RTCString::CaseInsensitive)) 882 { 883 HRESULT hrc = pEditor->setContentOfLine(vecLineNumbers.at(i), "include txt.cfg"); 884 if (FAILED(hrc)) 885 return hrc; 886 } 887 876 888 877 889 /* Comment out 'display <filename>' directives that's used for displaying files at boot time. */ … … 1321 1333 } 1322 1334 #endif 1323
Note:
See TracChangeset
for help on using the changeset viewer.