packer-winrm-shell

command module
v0.0.0-...-3400f74 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2014 License: MIT Imports: 2 Imported by: 0

README

Packer WinRM Shell Provisioner

Build Status Coverage Status

The WinRM Shell Provisioner for Packer allows you to provision a Windows Guest via shell commands or scripts that are executed via WinRM instead of the default SSH behaviour.

WinRM is a native Windows remote management capability that can provide a more reliable experience interacting with a remote Windows machine.

Installation

Download the binary for your platform and place on your execution $PATH environment variable, or alongside the Packer.io installation.

Manual Installation

TBA

Usage

The WinRM shell is very similar to the default Packer Shell provisioner, the main difference being the name of the provisioner is changed to winrm-shell:

"provisioners": [
   {
     "type": "winrm-shell",
     "inline": ["whoami"]
   }
]
Configuration Options

Aside from the default parameters from the Shell Provisioner, you can use Modified the below:

Authentication

  • Username: The WinRM username. Defaults to 'vagrant'
  • Password: The WinRM password. Defaults to 'vagrant'
  • Hostname: The WinRM hostname. Defaults to 'localhost'
  • Port: The WinRM connection port. Defaults to '5985'

Contributing

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
provisioner
winrm-shell
This package implements a provisioner for Packer that executes shell scripts within the remote machine.
This package implements a provisioner for Packer that executes shell scripts within the remote machine.

Jump to

Keyboard shortcuts

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