Giter Club home page Giter Club logo

Comments (7)

neilkidd avatar neilkidd commented on July 30, 2024 1

Hi Matt,
First off - many thanks for your work, and taking the time to reply :)
I'm running 0.12.1:
neil@optimus:~$ packer -v
0.12.1

So I have no idea what the issue is. I'll try again at some point. It completed and I have a patched basebox (with UK settings) which is sufficient for me for another 179 days!

Regards,
Neil

from packer-templates.

neilkidd avatar neilkidd commented on July 30, 2024

I typed "ENTER" + return and it completed.

from packer-templates.

mwrock avatar mwrock commented on July 30, 2024

While it does prompt you to press enter, this should not matter because the last thing the boxstarter script does is setup winrm. Normally, that alone should appow packer to connect to the box and sysprep it and complete the process.

Since that is not happening, this usually means something is misconfigured in the packer winrm settings. This has been tricky because depending on which version of packer you are using, different settings will break. The settings currently in this repo were set with v 0.12.1.

So the first thing I'd try is using that version of packer.

from packer-templates.

wilddev65 avatar wilddev65 commented on July 30, 2024

I'm having the same problem but it's happening at the end of the temp_BoxstarterPackage install and I have to hit enter for it to proceed with turning on winrm. At this stage Packer isn't even connected, it's all Boxstarter and Chocolately.

from packer-templates.

mwrock avatar mwrock commented on July 30, 2024

I may not fully uinderstand your scenario but it is expected for boxstarter to end prompting you to type enter before it closes the console. At the very end of the boxstarter package, it sets up winrm and at that point Packer is supposed to be able to connect and drive the rest of the image build.

Are you prompted after all the updates are installed and the entire package completes? Thats the expectation. If thats the case, it means Packer must not be able to make a winrm connection with the vm.

from packer-templates.

wilddev65 avatar wilddev65 commented on July 30, 2024

What I'm currently doing (as you can see in the other bug I opened #233) is running first a package which simply adds the box to the domain, then running an install of MSSQL 2014. It stops at the Enter prompt before the section that starts winrm and also prompts to enter when the winrm section completes. The temp_BoxstarterPackage install finishes successfully (I did several tests to verify it completely finishes) and once it gets handed back to the main script, it stops and requests me to hit enter. It seems to me in the testing I've done that if there is a reboot needed, things finish properly, but as the MSSQL install doesn't require a reboot, it just stops.

from packer-templates.

wilddev65 avatar wilddev65 commented on July 30, 2024

As a followup to this, I've discovered that if I have two lines doing 'Install-BoxstarterPackage' I get the Enter prompt, but if I make the script do this only once, it doesn't give me that prompt until after winrm is turned on. I'm going to try merging the two packages together and see if it will work successfully with that.

from packer-templates.

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.