Sample VGP XML file - Solaris Zones


For information about various settings, see Information-about-settings-in-the-Solaris-Zones-VGP-XML-file.


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<VirtualGuestPackageConfiguration>
    <GeneralInfo>
        <PackageName>zonePackage</PackageName>
        <PackageDescription>create zone package</PackageDescription>
        <DepotGroupId>2000100</DepotGroupId>
        <VirtualGuestPackageType>7</VirtualGuestPackageType>
        <VirtualGuestName>TestZone</VirtualGuestName>
    </GeneralInfo>
    <PlatformInfo>
        <ZoneInfo>
            <ZonePath>/home</ZonePath>
            <AutoBoot>false</AutoBoot>
            <ResourcePool>defaultPool</ResourcePool>
            <BootArgs></BootArgs>
            <LimitPrivileges></LimitPrivileges>
            <SchedulingClass>IA</SchedulingClass>
            <ProcessorType>Capped</ProcessorType>
            <NumCPUsORRange>1</NumCPUsORRange>
            <Importance>0</Importance>
            <PhysicalMemory>256</PhysicalMemory>
            <MaximumSwap>256</MaximumSwap>
            <LockedMemory>256</LockedMemory>
            <IPType>shared</IPType>
            <ZoneNetworkAddresses>
                <ZoneNetworkAddress>
                    <Physical>eth1</Physical>
                    <Address>192.168.1.1</Address>
                    <DefaultRouter>192.168.1.2</DefaultRouter>
                </ZoneNetworkAddress>
            </ZoneNetworkAddresses>
            <ZoneFileSystems>
                <ZoneFileSystem>
                    <FileSystemDir>/mnt</FileSystemDir>
                    <FileSystemSpecial>/dev/dsk/c0t0d0s2</FileSystemSpecial>
                    <FileSystemRaw>/dev/rdsk/c0t0d0s2</FileSystemRaw>
                    <FileSystemType>ufs</FileSystemType>
                    <FileSystemOptions></FileSystemOptions>
                </ZoneFileSystem>
            </ZoneFileSystems>
            <ZoneDataSets>
                <ZoneDataSet>
                    <DataSetName>dataset1</DataSetName>
                </ZoneDataSet>
            </ZoneDataSets>
            <ZoneDevices>
                <ZoneDevice>
                    <DeviceMatch>/device</DeviceMatch>
                </ZoneDevice>
            </ZoneDevices>
            <ZoneAttributes>
                <ZoneAttribute>
                    <AttributeName>attr</AttributeName>
                    <AttributeType>boolean</AttributeType>
                    <AttributeValue>false</AttributeValue>
                </ZoneAttribute>
            </ZoneAttributes>
        </ZoneInfo>
    </PlatformInfo>
    <LocalProperties>
        <LocalProperty>
            <PropertyName>DESCRIPTION1</PropertyName>
            <PropertyValue>A test VGP</PropertyValue>
            <PropertyType>String</PropertyType>
        </LocalProperty>
    </LocalProperties>
</VirtualGuestPackageConfiguration>

 

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

TrueSight Server Automation 21.3