installing windows updates before packer build is complete
2,528 views
Skip to first unread message
Jason Reeves
unread,
Nov 22, 2013, 1:19:42 PM11/22/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to packe...@googlegroups.com
I am to the point where I cannot figure out how to automate the installation of windows updates before the vm is shutdown. Has anyone else attempted this or have ideas on how?
I have been dabbling with get-wuinstall but I am not getting too far.
Shawn Neal
unread,
Nov 24, 2013, 11:30:24 AM11/24/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to packe...@googlegroups.com
packer-windows supports this out of the box. It can take a _long_ time for all the updates to be applied.
Jason Reeves
unread,
Nov 25, 2013, 1:46:32 PM11/25/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to packe...@googlegroups.com
Great, thanks! I can't believe I missed this!
Mischa Taylor
unread,
Nov 28, 2013, 12:21:30 AM11/28/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to packe...@googlegroups.com
That wouldn't quite work with what I am trying to accomplish but I appreciate the response. I am trying to build a 'factory' for versioned templates to choose from. So the build needs to be fully automated and run after patch Tuesday to create a new updated template.
I haven't had a chance to try out what Shawn suggested but I have a feeling that it will work exactly as I need.
Tim Tharratt
unread,
Aug 19, 2018, 5:17:50 AM8/19/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Packer
Hi,
I had similar problems, the only way I could get this to work was to invoke it as a scheduled task running as System. I created a couple of scripts perform the update as part of the build :-