Comments (7)
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.
I typed "ENTER" + return and it completed.
from packer-templates.
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.
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.
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.
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.
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)
- error when installing vbox-2016.json HOT 1
- endless "Waiting for WinRM to become available" HOT 13
- mwrock/Windows2012R2 box: "The source files could not be downloaded." HOT 1
- SSL Errors on Corporate Network (Proposed Solution) HOT 1
- can't login as administrator in Windows2012R2 HOT 1
- Reupload box mwrock/Windows2012R2Full' (v0.1.0) so URL isn't broken
- Nano Build 2.0Gb... any ideas as to why and how to make smaller
- Remove Berksfile.lock from repo
- Chef client not removed
- Failure in creation of Windows 2016 images HOT 5
- ChefDK14 w/ chef-solo run fails due to Mixin HOT 6
- Server 2012 R2 Download ISO Path Broken
- nano server output
- Server 2016 broken link HOT 3
- can't login as administrator in Windows2012R2 HOT 1
- windows cookbook dependency in packer-templates cookbook incompatible with latest chef-client versions
- Win2016 HyperV - No Search Match For NuGet HOT 4
- Issues installing Chef
- Create templates for Win2008 R2 HOT 1
- Creating HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-templates.