fix unattend config
This commit is contained in:
parent
e6e46f7d36
commit
412244a946
1 changed files with 8 additions and 9 deletions
17
Unattend.xml
17
Unattend.xml
|
|
@ -10,7 +10,7 @@
|
|||
<RunSynchronous>
|
||||
<RunSynchronousCommand wcm:action="add">
|
||||
<Order>1</Order>
|
||||
<Path>cmd.exe /c ""C:\Cloud-Init\cloud-init.exe" firstboot && exit 1 || exit 2"</Path>
|
||||
<Path>cmd.exe /c ""C:\Cloud-Init\cloud-init.exe" firstboot"</Path>
|
||||
<Description>Run Cloud-Init to set the hostname</Description>
|
||||
<WillReboot>OnRequest</WillReboot>
|
||||
</RunSynchronousCommand>
|
||||
|
|
@ -19,14 +19,6 @@
|
|||
</settings>
|
||||
<settings pass="oobeSystem">
|
||||
<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
||||
<FirstLogonCommands>
|
||||
<SynchronousCommand wcm:action="add">
|
||||
<CommandLine>C:\Cloud-Init\cloud-init.exe firstboot</CommandLine>
|
||||
<RequiresUserInput>false</RequiresUserInput>
|
||||
<Order>1</Order>
|
||||
<Description>Cloud-Init</Description>
|
||||
</SynchronousCommand>
|
||||
</FirstLogonCommands>
|
||||
<OOBE>
|
||||
<HideEULAPage>true</HideEULAPage>
|
||||
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
||||
|
|
@ -44,5 +36,12 @@
|
|||
</UserAccounts>
|
||||
<RegisteredOwner/>
|
||||
</component>
|
||||
<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>en-US,de-DE</InputLocale>
|
||||
<SystemLocale>en-US</SystemLocale>
|
||||
<UILanguage>en-US</UILanguage>
|
||||
<UILanguageFallback>en-US</UILanguageFallback>
|
||||
<UserLocale>en-US</UserLocale>
|
||||
</component>
|
||||
</settings>
|
||||
</unattend>
|
||||
Loading…
Add table
Add a link
Reference in a new issue