<commit_before><?xml version="1.0" encoding="UTF-8"?>
    <section
        xmlns="http://docbook.org/ns/docbook"
        xmlns:xi="http://www.w3.org/2001/XInclude"
        xmlns:xlink="http://www.w3.org/1999/xlink"
        version="5.0"
        xml:id="windows-image">
<title>Example: Microsoft Windows image</title>
    <para>We do not yet have a fully documented example of how to create a Microsoft Windows image.
        You can use libvirt to install Windows from an installation DVD using the same approach as
        with the CentOS and Ubuntu examples. Once the initial install is done, you will need to
        perform some Windows-specific customizations.</para>
        <simplesect>
            <title>Install VirtIO drivers</title>
            <para>Installing the <link
                xlink:href="http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers"
                >VirtIO paravirtualizaion drivers for Windows</link> will improve virtual machine
            performance when using KVM as the hypervisor to run Windows.</para>
        </simplesect>
        <simplesect><title>Sysprep</title>
            <para>Microsoft has a special tool called <link
                xlink:href="http://technet.microsoft.com/en-us/library/cc766049(v=ws.10).aspx"
                >Sysprep</link> that must be run inside of a Windows guest to prepare it for use as
            a virtual machine image. On Windows 2012 server, invoke sysprep, as follows:
            <screen><userinput>c:\windows\system32\sysprep\sysprep.exe</userinput></screen></para>
        </simplesect>
    <simplesect>
        <title>cloudbase-init</title>
        <para><link xlink:href="http://www.cloudbase.it/cloud-init-for-windows-instances/"
                >cloudbase-init</link> is a Windows port of cloud-init that should be installed
            inside of the guest. The <link xlink:href="https://github.com/cloudbase/cloudbase-init"
                >source code</link> is available on github.</para>
    </simplesect>
        <simplesect>
            <title><NAME>'s OpenStack Windows resources</title>
            <para><NAME> maintains <link xlink:href="https://github.com/jordanrinke/openstack"
                >a collection of resources</link> for managing OpenStack Windows virtual machine
            guests.</para>
        </simplesect>


    </section><commit_msg>Add note about windows image timezone<commit_after><?xml version="1.0" encoding="UTF-8"?>
    <section
        xmlns="http://docbook.org/ns/docbook"
        xmlns:xi="http://www.w3.org/2001/XInclude"
        xmlns:xlink="http://www.w3.org/1999/xlink"
        version="5.0"
        xml:id="windows-image">
<title>Example: Microsoft Windows image</title>
    <para>We do not yet have a fully documented example of how to create a Microsoft Windows image.
        You can use libvirt to install Windows from an installation DVD using the same approach as
        with the CentOS and Ubuntu examples. Once the initial install is done, you will need to
        perform some Windows-specific customizations.</para>
        <simplesect>
            <title>Install VirtIO drivers</title>
            <para>Installing the <link
                xlink:href="http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers"
                >VirtIO paravirtualizaion drivers for Windows</link> will improve virtual machine
            performance when using KVM as the hypervisor to run Windows.</para>
        </simplesect>
        <simplesect><title>Sysprep</title>
            <para>Microsoft has a special tool called <link
                xlink:href="http://technet.microsoft.com/en-us/library/cc766049(v=ws.10).aspx"
                >Sysprep</link> that must be run inside of a Windows guest to prepare it for use as
            a virtual machine image. On Windows 2012 server, invoke sysprep, as follows:
            <screen><userinput>c:\windows\system32\sysprep\sysprep.exe</userinput></screen></para>
        </simplesect>
    <simplesect>
        <title>cloudbase-init</title>
        <para><link xlink:href="http://www.cloudbase.it/cloud-init-for-windows-instances/"
                >cloudbase-init</link> is a Windows port of cloud-init that should be installed
            inside of the guest. The <link xlink:href="https://github.com/cloudbase/cloudbase-init"
                >source code</link> is available on github.</para>
    </simplesect>
        <simplesect>
            <title><NAME>'s OpenStack Windows resources</title>
            <para><NAME> maintains <link xlink:href="https://github.com/jordanrinke/openstack"
                >a collection of resources</link> for managing OpenStack Windows virtual machine
            guests.</para>
        </simplesect>
    <simplesect>
    <title>Windows instances require the timezone to be "localtime"</title>
    <para>When uploading Windows images, you must set the <literal>os_type</literal>
    parameter to <literal>windows</literal>, which causes instances to use the
    local time zone.
    Failing to set this will cause the clock timezone to be UTC, which has unexpected
    side effects in Windows.</para>
    </simplesect>
    </section>
{'fraction_non_alphanumeric': 0.10664605873261206, 'fraction_numerical': 0.011205564142194745, 'mean_word_length': 2.6432090077410275, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 2, '>': 107, 'https://': 4, 'lorem ipsum': 0, 'www.': 8, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6191258', 'n_tokens_mistral': 1488, 'n_tokens_neox': 1405, 'n_words': 422}