Giter Club home page Giter Club logo

Comments (6)

dylanmei avatar dylanmei commented on July 30, 2024

If you're trying to temporarily skip the updates, you'll want to pass -AutoStart to the previous SyncronousCommand, a powershell command that installs OpenSSH.

from packer-windows.

lmayorga1980 avatar lmayorga1980 commented on July 30, 2024

Don't get me wrong but this is the first time i see this file. Should I add another node ? which I don't think is the case but where should I add this AutoStart??

    <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd.exe /c C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File a:\openssh.ps1</CommandLine>
                    <Description>Install OpenSSH</Description>
                    <Order>99</Order>
                    <RequiresUserInput>true</RequiresUserInput>
                </SynchronousCommand>

from packer-windows.

lmayorga1980 avatar lmayorga1980 commented on July 30, 2024

I found the Argument on the PS Script duhhh!.

from packer-windows.

dylanmei avatar dylanmei commented on July 30, 2024

Hehe ya. Skipping the Windows Updates would defeat one of the core awesomes of this project, but its useful when hacking on the project. Perhaps it is something that can be parametrized when we get to generating the templates.

from packer-windows.

lmayorga1980 avatar lmayorga1980 commented on July 30, 2024

Yeah I think so too. Need to execute a full run in order to get some ideas.

from packer-windows.

joefitzgerald avatar joefitzgerald commented on July 30, 2024

I have updated the README to better describe how to disable Windows Update installation. I've also modified the Autounattend.xml files to show exactly what needs to be commented / uncommented to make that happen. Hopefully that'll save others from running into the same issue here.

Note: you need to upgrade to Packer 0.5.0 to work with v1.4 (which includes the changes I described above).

from packer-windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.