Sample VGJ XML file - RHEL KVM



<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VirtualGuestJobConfiguration>
   <VirtualGuestPackage>
 <VGPackageID>2000044</VGPackageID>
 <VirtualGuestName>newDomain</VirtualGuestName>
   <PlatformInfo>
       <RHELKVMInfo>
           <NumVCPU>1</NumVCPU>
           <MaxMemory>512</MaxMemory>
           <StartUpMemory>512</StartUpMemory>
           <AutoBoot>true</AutoBoot>
           <CPUArchitecture>x86_64</CPUArchitecture>
           <RHELKVMStorages>
               <RHELKVMStorage>
                   <RHELKVMFileImageStorage>
                       <TargetDeviceType>Disk</TargetDeviceType>
                       <TargetDeviceBus>IDE</TargetDeviceBus>
                       <PoolName></PoolName>
                       <FileName>Cdrive</FileName>
                       <StorageSize>128</StorageSize>
                       <AllocateNow>true</AllocateNow>
                   </RHELKVMFileImageStorage>
               </RHELKVMStorage>
           </RHELKVMStorages>
           <RHELKVMNetworks>
               <RHELKVMNetwork>
                   <Name>network1</Name>
                   <Type>Virtual Network</Type>
                   <MacAddress></MacAddress>
                   <DeviceModel>e1000</DeviceModel>
               </RHELKVMNetwork>
   <RHELKVMNetwork>
                   <Name>network2</Name>
                   <Type>Virtual Network</Type>
                   <MacAddress></MacAddress>
                   <DeviceModel>e1000</DeviceModel>
               </RHELKVMNetwork>
           </RHELKVMNetworks>
       </RHELKVMInfo>
   </PlatformInfo>
  </VirtualGuestPackage>
  <VirtualGuestJob>
       <JobName>createDomainJob</JobName>
       <JobFolderID>2000300</JobFolderID>
       <VirtualGuestDestination>2000000</VirtualGuestDestination>                          
       <ExecuteNow>true</ExecuteNow>
    </VirtualGuestJob>
<LifeCycle>
<SkipApproval>true</SkipApproval>
 <ServiceRquestID>SRID1</ServiceRquestID>
  \\
 <ChangeID>CID1</ChangeID>
 <TaskID>TID1</TaskID>
 <Owner>Joe Smith</Owner>
 <ExpiryDate>2009-07-27 04:54:44</ExpiryDate>
 <GroupName>myGroup</GroupName>
 <ServiceLevel>gold</ServiceLevel>
</LifeCycle>
</VirtualGuestJobConfiguration>

 

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

Server Automation Documentation