Hi Guys,

Has anyone found instances where the same Packer build code (.json template 
and associated scripts) behaves differently when run on Windows or Linux?

I develop my builds on a Windows laptop (primarily Windows server OS builds 
using vmware-iso builder), commit code to our git repository, and then 
schedule future periodic builds via Jenkins (running Linux slaves).  My 
Windows laptop and the Red Hat Jenkins slave are running Packer v1.0.3.  

I often have issues running PowerShell provisioner scripts such as one to 
create a scheduled tasks to perform Windows Updates.  Works fine on my 
machine, but inexplicably exits with exit code 1 when building on the Linux 
VM.

Any ideas where to start looking?

Dan
**********************************************************************
This email is confidential and may contain copyright material of the John Lewis 
Partnership. 
If you are not the intended recipient, please notify us immediately and delete 
all copies of this message. 
(Please note that it is your responsibility to scan this message for viruses). 
Email to and from the
John Lewis Partnership is automatically monitored for operational and lawful 
business reasons.
**********************************************************************

John Lewis plc
Registered in England 233462
Registered office 171 Victoria Street London SW1E 5NN
 
Websites: https://www.johnlewis.com 
http://www.waitrose.com 
https://www.johnlewisfinance.com
http://www.johnlewispartnership.co.uk
 
**********************************************************************

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/58225638-cd5c-43bc-ad15-0461ec6957ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to