Comments (6)
I've never encountered this before, but I always use the eval ISO and stick with the default locale/timezone. I'd be fairly certain this is either due to your specific ISO or the locale/timezone settings. I'm sure the product key is unrelated.
What I'd do is revert your locale/timezone changes and just see if that fixes it to isolate the settings from the ISO. I'm not sure what the fix would be other than it is somewhere in the autounattend.xml.
from packer-templates.
OK, thanks. I'll try that (so I just have my own ISO, but everything else unchanged) and see if that fixes it. If it does, I'll see if I can work out another way of making the changes I want post-install.
BTW, if I want to disable the windows update step (so I can run some tests in a reasonable length of time!) can I do that just by commenting out the Install-WindowsUpdate -AcceptEula
line in scripts/package.ps1
?
from packer-templates.
Yeah that should cut out about 6 hours :)
from packer-templates.
Sigh. Looks like it was from putting the language in autounattend.xml. Off to do some research on autounattend then...
Thanks for your help, and apologies for not researching more fully before raising the issue here.
from packer-templates.
no worries. The autounattend can be pretty cryptic indeed.
from packer-templates.
Looks like Windows these days comes without language packs included by default. If you change language manually, I guess it installs what it needs.
For information, should anyone else find this thread, the following powershell code can change the language:
Set-WinSystemLocale -SystemLocale en-GB
Set-WinSystemLocale en-GB
Set-Culture en-GB
Set-WinUserLanguageList en-GB -force
Set-WinHomeLocation 242 # UK, US is 244
There's more (you need to download and install the language pack, and you need to somehow copy the current user values to the welcome screen and new user accounts (there's a GUI for that in the control panel, but I don't know what the powershell commands would be, yet), but the basic answer is that you can do it.
Add to that the fact that with DISM it appears you can activate an evaluation version with a full product key, and it looks like I can do all I need in a vagrant provisioning script from your base box (and then repackage the box for further customisation, if needed). Which is really cool.
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.