packer-provisioner-windows-update

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2017 License: MPL-2.0 Imports: 2 Imported by: 0

README

Packer Windows Update Provisioner

Build status Latest version released Package downloads count

This is a Packer plugin for installing Windows updates (akin to rgl/vagrant-windows-update).

NB This was only tested with Packer 1.0.2 and Windows Server 2016.

Usage

Download the binary from the releases page and put it in the same directory as your packer executable.

Use the provisioner from your packer template file, e.g. like in rgl/windows-2016-vagrant:

{
    "provisioners": [
        {
            "type": "windows-update"
        }
    ]
}

Development

Install the dependencies:

go get -u github.com/hashicorp/packer/packer/plugin
go get -u github.com/masterzen/winrm
go get -u github.com/jteeuwen/go-bindata/...

Build:

make

Configure packer with the path to this provisioner by adding something like the following snippet to your ~/.packerconfig (or %APPDATA%/packer.config):

{
    "provisioners": {
        "windows-update": "/home/rgl/Projects/packer-provisioner-windows-update/packer-provisioner-windows-update"
    }
}

If you are having problems running packer set the PACKER_LOG=1 environment variable to see more information.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL