SCVMM 2008 unattended xml en hyper-v scsi disken

Pagina: 1
Acties:

  • Yalopa
  • Registratie: Maart 2002
  • Niet online

Yalopa

Less is more!

Topicstarter
Iemand die ervaring heeft met het aanmaken van hyperv vm's en dmv xml files de scsi disken aan te passen?

Ik probeer een immage te deployen op hyperv en deze aan te passen met enkele settings, waaronder de disk config.

ik heb:
  • een VM, aangemaakt met 1 disken, waarvan 1 SCSI
  • Windows 2008 x64 geinstaleerd op de IDE disk, hyperv integration tools geinstaleerd
Met de WAIK heb ik de .wim van W2K8 x64 gemount, en van daaruit mijn xml gegenereerd, deze is gevalideerd zonder errors of warnings. de xml wordt wel uitgevoerd, want de localisatie settings zijn toegepast.

Dit wil ik bereiken:
  • OS DISK: niets veranderen
  • SCSI Disk 1: drive letter D, label swap, format NTFS, hierop moet de page file komen
.


mijn vermoeden:
op het moment dat de disken gemodificieerd worden zijn ze nog niet te vinden door het os, maar ik heb nergens logfiles kunnen terug vinden die dat bevestigen.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing>
        <package action="configure">
            <assemblyIdentity name="Microsoft-Hyper-V-Common-Drivers-Package" version="6.0.6001.18000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
        </package>
        <package action="configure">
            <assemblyIdentity name="Microsoft-Hyper-V-Guest-Integration-Drivers-Package" version="6.0.6001.18000" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
        </package>
    </servicing>
    <settings pass="specialize">
        <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <InputLocale>813</InputLocale>
            <SystemLocale>813</SystemLocale>
            <UserLocale>813</UserLocale>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <InputLocale>813</InputLocale>
            <SystemLocale>813</SystemLocale>
            <UserLocale>813</UserLocale>
        </component>
    </settings>
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <PageFile>
                <Path>D:\</Path>
                <Size>4096</Size>
            </PageFile>
            <DiskConfiguration>
                <Disk wcm:action="add">
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Extend>true</Extend>
                            <Order>1</Order>
                            <Type>Primary</Type>
                        </CreatePartition>
                    </CreatePartitions>
                    <DiskID>1</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="modify">
                            <Active>true</Active>
                            <Extend>true</Extend>
                            <Format>NTFS</Format>
                            <Label>SWAP</Label>
                            <Letter>D</Letter>
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
                <WillShowUI>OnError</WillShowUI>
            </DiskConfiguration>
            <UserData>
                <ProductKey>
                    <Key>*snip*</Key>
                    <WillShowUI>OnError</WillShowUI>
                </ProductKey>
            </UserData>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:g:/wim/2008/install.wim#Windows Longhorn SERVERENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

You don't need eyes to see, you need vision


Verwijderd

Ik heb even de product key uit je TS gehaald :)

  • Yalopa
  • Registratie: Maart 2002
  • Niet online

Yalopa

Less is more!

Topicstarter
Die product key is gewoon publiek voor dit doel, hij komt zo van de MS website :)

http://technet.microsoft.com/en-us/library/cc303280.aspx

You don't need eyes to see, you need vision


  • Yalopa
  • Registratie: Maart 2002
  • Niet online

Yalopa

Less is more!

Topicstarter
push :)

You don't need eyes to see, you need vision