rolando-anton / packer-disposable-windows Goto Github PK
View Code? Open in Web Editor NEWA packer project to generate Windows EVAL images to use it on test / dev / hack / IR labs
License: MIT License
A packer project to generate Windows EVAL images to use it on test / dev / hack / IR labs
License: MIT License
Here are the details:
packer build -only=qemu -var-file=windows-10-1903-iso.json -var-file=windows-10-qemu-vars.json -var-file=packer-creds.json -var-file=kvm-vars.json -except=gcp -var tag=golden windows-base.json
qemu: Failures qemu: - googlechrome (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\GoogleChrome\tools\chocolateyInstall.ps1'. qemu: See log for details. qemu: qemu: qemu: Directory: C:\Windows\Setup qemu: qemu: qemu: Mode LastWriteTime Length Name qemu: ---- ------------- ------ ---- qemu: d----- 1/6/2021 11:57 PM Scripts qemu: qemu: qemu: Directory: C:\Windows qemu: qemu: qemu: Mode LastWriteTime Length Name qemu: ---- ------------- ------ ---- qemu: d----- 1/6/2021 11:57 PM packer
==> qemu: Provisioning step had errors: Running the cleanup provisioner, if present...
==> qemu: Deleting output directory...
Build 'qemu' errored after 16 minutes 53 seconds: Script exited with non-zero exit status: 4294967295.Allowed exit codes are: [0]
Could you advise on how to get more debug info here (if needed)?
Hello the passwords are kept in multiple places like the basic packer-creds.json
but also
packer-disposable-windows/autounattend/windows_10/qemu
in:
<AutoLogon>
<Password>
and
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
and others
It seems those all are related to the same password - if that's the case it should single credential pair in some configuration in base level directory like the existing packer-creds.json .
If it's not the case then IMHO those still should be in single file, and only copied over during deployment to multiple other places.
Also there is winRM password - it's not clear if this should be changed and if it will be left in created image post deployment.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.