Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Sample VGP XML file - SCVMM Hyper-V (Template Based)


For information about various settings, see Information-about-settings-in-the-SCVMM-Hyper-V-XML-files-Bare-Metal-and-Template-Based.


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VirtualGuestPackageConfiguration>
   <GeneralInfo>
       <PackageName>W2K3-01</PackageName>
       <PackageDescription></PackageDescription>
       <DepotGroupId>2000400</DepotGroupId>
       <VirtualGuestPackageType>14</VirtualGuestPackageType>
       <VirtualGuestName>win2k3</VirtualGuestName>
   </GeneralInfo>
   <PlatformInfo>
       <VirtualGuestInfo>
           <Description>HyperV VM Deployed Using VGJ</Description>
           <SourceTemplateId>1 Template win2k8</SourceTemplateId>
\\
  <VirtualGuestStorage>C:\ClusterStorage\Volume2</VirtualGuestStorage>
           <CoresPerSocket>1</CoresPerSocket>
           <NumOfSockets>1</NumOfSockets>
           <MemoryInMB>512</MemoryInMB>   
           <PowerOnVMAfterCreation>true</PowerOnVMAfterCreation>
           <VirtualDisks>
               <VirtualDisk>
                   <DiskSizeInGB>10.0</DiskSizeInGB>
                   <Storage>C:\ClusterStorage\Volume2</Storage>
                   <ThinProvisioning>true</ThinProvisioning>
                   <DiskExtendedProperties>
                       <PlatformSpecificProperty>
                           <PropertyName>diskInterfaceType</PropertyName>
                           <PropertyValue>IDE</PropertyValue>
                       </PlatformSpecificProperty>
                   </DiskExtendedProperties>
               </VirtualDisk>
           </VirtualDisks>
           <VirtualNetworks>
               <VirtualNetwork>
                   <NetworkName>VM Network</NetworkName>
                   <NetworkExtendedProperties>
                       <PlatformSpecificProperty>
                           <PropertyName>vlanID</PropertyName>
                           <PropertyValue>1</PropertyValue>
                       </PlatformSpecificProperty>
                   </NetworkExtendedProperties>
               </VirtualNetwork>
           </VirtualNetworks>
           <PlatformSpecificProperties>
               <PlatformSpecificProperty>
                   <PropertyName>cpuPriority</PropertyName>
                   <PropertyValue>High</PropertyValue>
               </PlatformSpecificProperty>
               <PlatformSpecificProperty>
                   <PropertyName>networkAdapterType</PropertyName>
                   <PropertyValue>Synthetic</PropertyValue>
               </PlatformSpecificProperty>
           </PlatformSpecificProperties>
           <OSCustomizationInfo>
               <WindowsCustomizationInfo>
                   <ComputerName>win2k3</ComputerName>
                   <AdminPassword>BLencrypt:LNZLZXKOWMULKQLZLLNVUPTULZMZAUOWKWBBVBZWKEUTMZNENPTLPULPMEULQVBK</AdminPassword>
                   <Workgroup>workgroup</Workgroup>
                   <UserName>user</UserName>
                   <Organization>myorg</Organization>
                   <LicenseKey></LicenseKey>
                   <LicenseType>perServer</LicenseType>
                   <NumOfConnections>5</NumOfConnections>
                   <TimezoneId>1</TimezoneId>
                   <LocaleId>1</LocaleId>
               </WindowsCustomizationInfo>
           </OSCustomizationInfo>
       </VirtualGuestInfo>
   </PlatformInfo>
</VirtualGuestPackageConfiguration>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation 8.3