[virt-tools-list] How to: Unattended Windows installs in virt-install

Christophe Fergeau cfergeau at redhat.com
Wed Sep 12 15:49:52 UTC 2018


On Wed, Sep 12, 2018 at 03:37:27PM +0100, Richard W.M. Jones wrote:
> There are also several problems with the current autounattend file or
> Windows itself.
> 
> I couldn't get Windows to install virtio drivers even though I
> supplied the virtio ISO.  I guess some change is needed to the XML
> (perhaps: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-device-drivers-to-windows-during-windows-setup ).
> 
> Windows still asks for the installation language.  Apparently using
> language='en-US' is incorrect or insufficient to suppress this.

libosinfo generates this:

    <component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" name="Microsoft-Windows-International-Core-WinPE" language="neutral" processorArchitecture="x86">
      <SetupUILanguage>
        <UILanguage>fr-FR</UILanguage>
      </SetupUILanguage>
      <SystemLocale>fr-FR</SystemLocale>
      <UILanguage>fr-FR</UILanguage>
      <UserLocale>fr-FR</UserLocale>
    </component>

(though not 100% sure that fr-FR is a correct language ;)
You can check the whole xml file it generates with:
osinfo-install-script windows.iso --config=l10n-language=fr-FR --config=reg-product-key=XXXX

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20180912/48e350fa/attachment.sig>


More information about the virt-tools-list mailing list