Changeset 34505 in vbox for trunk/src/VBox
- Timestamp:
- Nov 30, 2010 12:58:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImplExport.cpp
r34101 r34505 1011 1011 <Description>Linux 2.6.x</Description> 1012 1012 </OperatingSystemSection> */ 1013 VirtualSystemDescriptionEntry *pvsdeOS = llOS.front(); 1013 1014 xml::ElementNode *pelmOperatingSystemSection; 1014 1015 if (enFormat == OVF_0_9) … … 1020 1021 pelmOperatingSystemSection = pelmVirtualSystem->createChild("OperatingSystemSection"); 1021 1022 1022 pelmOperatingSystemSection->setAttribute("ovf:id", llOS.front()->strOvf);1023 pelmOperatingSystemSection->setAttribute("ovf:id", pvsdeOS->strOvf); 1023 1024 pelmOperatingSystemSection->createChild("Info")->addContent("The kind of installed guest operating system"); 1024 1025 Utf8Str strOSDesc; 1025 convertCIMOSType2VBoxOSType(strOSDesc, (ovf::CIMOSType_T) llOS.front()->strOvf.toInt32(), "");1026 convertCIMOSType2VBoxOSType(strOSDesc, (ovf::CIMOSType_T)pvsdeOS->strOvf.toInt32(), ""); 1026 1027 pelmOperatingSystemSection->createChild("Description")->addContent(strOSDesc); 1028 // add the VirtualBox ostype in a custom tag in a different namespace 1029 xml::ElementNode *pelmVBoxOSType = pelmOperatingSystemSection->createChild("vbox:OSType"); 1030 pelmVBoxOSType->setAttribute("ovf:required", "false"); 1031 pelmVBoxOSType->addContent(pvsdeOS->strVboxCurrent); 1027 1032 1028 1033 // <VirtualHardwareSection ovf:id="hw1" ovf:transport="iso">
Note:
See TracChangeset
for help on using the changeset viewer.