OVFReferenceUtils.addFile(references, fileRef);
DiskSectionType diskSection = createDiskSection(template);
VirtualSystemType vsystem = createVirtualSystem(template);
ProductSectionType product = createProductSection(template);
OperatingSystemSectionType ossection = createOperatingSystemSection(template);
OVFEnvelopeUtils.addSection(vsystem, product);
OVFEnvelopeUtils.addSection(vsystem, ossection);
OVFEnvelopeUtils.addSection(envelope, diskSection);
OVFEnvelopeUtils.addVirtualSystem(envelope, vsystem);