Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual drivers for windows #629

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Virtual drivers for windows #629

wants to merge 3 commits into from

Conversation

bdellegrazie
Copy link

Hi,

This is more of a 'feature request' and I'm not expecting this pull-request to be merged as-is.

I have a requirement to install the virtio drivers into a windows system during install.
In order to do this I need to make available a second CD image - the one from RedHat which contains kvm's signed virtio drivers.

I've only extended the behaviour for virtual box but it should be relatively trivial to implement for other providers.

I'd suggest however that the whole ISO availability should be abstracted to a map with properties which include things like: download url, instructions, md5 hash / sha1 hash etc. just as is already present for the main OS ISO.

Let me know what you think

Brett

@bdellegrazie
Copy link
Author

@jedi4ever One additional change needs to occur to the autounattend.xml so that windows knows where the drivers are, other than that they are picked up automatically. e.g. for windows server 2008r2+ (all versions), the change required is to add in the windowsPE phase the following component:

 <settings pass="windowsPE">
        ...
        <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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">
            <DriverPaths>
                <PathAndCredentials wcm:action="add" wcm:keyValue="1">
                    <Path>F:\WIN7\AMD64</Path>
                </PathAndCredentials>
            </DriverPaths>
        </component>

Note the explicit path (F:\WIN7\AMD64) is inside the ISO (WIN7 drivers are the correct ones for 2008r2+ as well)

@mpapis
Copy link
Collaborator

mpapis commented Sep 30, 2014

this looks quite good but I can not merge because of conflicts, could you rebase and let me know when it's ready to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants