Commit Graph

5956 Commits

Author SHA1 Message Date
Chris Bednarski b30689b7b5 Updated documentation for Azure builder 2016-05-06 21:56:27 -07:00
Scott Pynn dcf9f661ee Update winrmcp revision to include Windows path fix (#3488)
On Windows, packer's 'file' provisioner fails to copy files/directories that include both a volume identifier (e.g. C:) and spaces in the path.

The root cause of this was found to be embedded single quotes in the 'destination' value, added by the github.com/packer-community/winrmcp/winrmcp project.

This updated winrmcp revision includes the fix to resolve this issue.
2016-05-06 21:19:18 -07:00
Chris Bednarski e3b9ec62ac Merge pull request #3507 from mitchellh/f-azure-windows
Add Support for Building Windows Images in Azure
2016-05-06 20:34:31 -07:00
Chris Bednarski 5ed3c8d563 Updated license information to reference builder/azure 2016-05-06 20:32:18 -07:00
Christopher Boumenot 902b2583fa Update samples. 2016-05-05 13:40:17 -07:00
Christopher Boumenot c7018a00c8 Add support for Windows to Azure.
This is last merge that will happen from the github.com/Azure/packer-Azure
repository.  All development is being over to this repository.

The biggest change in this merge is support for Windows.  There are a few other
fixes as well.

 * If the user cancels the build, clean up any resources.
 * Output a reasonable build artifact.
 * Log requests and responses with Azure.
 * Support for US Government and the China clouds.
 * Support interrupting long running tasks.
 * Allow the user to set the image version.
 * Device login support.
2016-05-05 13:40:17 -07:00
Christopher Boumenot 0abf0bbab0 Update Azure dependencies.
Add go-ntlmssp.

blah
2016-05-05 13:40:17 -07:00
Seth Vargo 52f934b328 Do not allow referrer to modify the sender (#3469)
http://mathiasbynens.github.io/rel-noopener/
2016-05-05 13:12:56 -07:00
Christopher Boumenot b813a529bf Build script for Windows. (#3481)
A re-implementation of build.sh for Windows ala PowerShell.  This is as
close to one-to-one that I could make it.
2016-05-05 13:12:17 -07:00
Christopher Boumenot 2d1347c1ec Insert Packer's version into the User Agent. (#3465) 2016-05-05 13:10:55 -07:00
Jake Champlin 2bcd276528 Fix spelling error in atlas post processor (#3499) 2016-05-04 23:53:08 -07:00
Christopher Boumenot accd97cf0f Use the default version of Go. (#3498)
AppVeyor install Go 1.6 c:\go by default, and it is already a part of the path.
2016-05-04 15:53:36 -07:00
Chris Bednarski 2d216b6e13 Added ATLAS_CA* to changelog 2016-05-03 18:44:01 -07:00
Chris Bednarski f28d8a18c5 Added documentation for ATLAS_CA* environment variables 2016-05-03 17:19:12 -07:00
Paul Hinze adcae08cd5 Update atlas-go to latest version that uses go-rootcerts (#3494)
Fixes issues on OS X w/ verifying against an Atlas using a custom certificate.
2016-05-03 16:41:59 -07:00
Seth Vargo 344f98ebd3 Track enhanced links (#3491) 2016-05-03 16:16:03 -07:00
Chris Bednarski 3b6435ec8d Merge branch 'master' of https://github.com/mitchellh/packer 2016-04-29 19:25:41 -07:00
Chris Bednarski 7a9a1d8025 Updated the changelog to include chef validation key fix, add remote_* options for ssh, and put docker privileged in the features section 2016-04-29 19:25:30 -07:00
Justin Nauman f2b0fabe66 Fixes #3466 - Remote path needs to be set prior to config interpolation (#3468) 2016-04-29 19:21:27 -07:00
Chris Bednarski 3b2a4834c5 Added docker privileged to the changelog 2016-04-29 19:13:41 -07:00
Hao 5139b853fa privilege enabled docker container (#3475)
Issue #2724
2016-04-29 19:12:20 -07:00
Chris Bednarski 700966fc27 Added changelog link to the download page (#3485) 2016-04-29 19:09:52 -07:00
Mark Campbell 6658ec7ea3 Fix extra backslash in front of dollar signs in website documentation (#3479)
The dollar signs do not need to be escaped. The backslashes show up on
the website right now. This commit makes it so that they do not show up
on the website.
2016-04-28 10:25:42 -07:00
Ian Duffy 7e653370b7 Seperate remote_path into remote_folder and remote_script. (#3462)
Commonly /tmp is set as noexec, as a result packer scripts
fail to run. In order to get around this one can set a
remote_path, whoever, remote path requires full filename
and path.

By making remote_path a combination of
remote_folder/remote_script we can change remote_folder
and keep the default script_nnn.sh

Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-04-26 16:04:29 -07:00
Christopher Boumenot d296260164 RFC: fix appveyor build (#3464)
No sure if this will work...

Appveyor builds appear to always choke on go vet, so I am removing it. The
Travis build already does it, so I do not think there's much value in
repeating it.
2016-04-22 20:42:01 -07:00
Khalid Saifullah b11e888f6c typo (#3467) 2016-04-22 16:42:13 -07:00
Christopher Boumenot bbf286dcbe Fix go fmt issues. (#3463) 2016-04-22 10:44:54 -07:00
Christopher Boumenot 728c496370 Move version to its own package. (#3460) 2016-04-21 13:19:43 -07:00
mansunkuo 864be9d991 Modify documents of extra_arguments for both ansible(remote) and ansible-local. (#3423) 2016-04-20 20:49:46 -07:00
Chris Bednarski 66c3dabf2f Merge pull request #3459 from mitchellh/docs-windows-restart-timeout
Docs for windows restart timeout
2016-04-20 12:36:08 -07:00
Chris Bednarski 90a12f7043 Clarified that windows must be fully booted in order for the restart provisioner to succeed 2016-04-20 12:34:53 -07:00
Chris Bednarski b92efe1262 Merge pull request #3455 from mitchellh/docs-azure-env
Change AZURE to ARM to be consistent with Terraform
2016-04-19 16:58:28 -07:00
Chris Bednarski 1aaa129918 Change AZURE to ARM to be consistent with Terraform 2016-04-19 16:57:51 -07:00
Chris Bednarski e868f9b69c Ignore JetBrains project files 2016-04-14 13:39:15 -07:00
Chris Bednarski 39cb194e0b Merge branch 'master' of https://github.com/mitchellh/packer 2016-04-12 15:09:54 -07:00
Chris Bednarski ac69ca8f68 Updated contrib instructions to reflect go 1.6 requirements 2016-04-12 15:09:46 -07:00
Chris Bednarski e30d0ea56b Merge pull request #3431 from mitchellh/sethvargo/ws_md
Update website push script to fix metadata
2016-04-12 12:15:00 -07:00
Seth Vargo 1eb9419665 Update website push script to fix metadata 2016-04-12 20:12:15 +01:00
Rickard von Essen f353ef00b5 Accept only bug reports and feature requests 2016-04-11 12:55:11 +02:00
Chris Bednarski a5b3e7884e Merge branch 'master' of https://github.com/mitchellh/packer 2016-04-07 16:35:02 -07:00
Chris Bednarski e9d0c8980c Change to the vet built-in because cmd/vet is no longer available 2016-04-07 16:34:54 -07:00
Chris Bednarski 4108c7bdbe Merge pull request #3425 from phinze/phinze/website-mime-types
website: force JS/CSS mime-types on deploy
2016-04-07 15:15:30 -07:00
Paul Hinze bcec4c4ffb website: force mime-types for some assets on deploy
Should fix occassional issues with application/octet-stream mime type
assets breaking JS/CSS on site.
2016-04-07 12:51:26 -05:00
Chris Bednarski b605c88c18 Merge pull request #3418 from boumenot/pr-say-artifact
Use Fprint instead of Fprintf
2016-04-06 14:49:46 -07:00
Chris Bednarski 9f6de246c2 Merge pull request #3422 from alexpbrown/swap-pty-geometry
Swap width and height when allocating a pty
2016-04-06 14:17:46 -07:00
Alex Brown 0cea0e5c24 Swap width and height when allocating a pty
RequestPty from crypto/ssh looks like this:

func (s *Session) RequestPty(term string, h, w int, termmodes TerminalModes) error

So arguments 2 and 3 are height and width, respectively. I'm not sure if
the original was just a typo, or if there's an actual reason we want a
40 column terminal. Either way, having a terminal this narrow led me to
a really "fun" bug[0], where `wget` in my shell provisioner scripts
would segfault when trying to display the progress bar.

[0] http://lists.gnu.org/archive/html/bug-wget/2016-02/msg00041.html
2016-04-06 15:40:19 -04:00
Rickard von Essen 4f0f05fb8e Merge pull request #3419 from tylert/vmw-iso-doc-fix
Put vmware-iso builder config options in 'packer fix' order and menti…
2016-04-06 16:36:03 +02:00
Tyler Tidman 2472e6bf06 Put vmware-iso builder config options in 'packer fix' order and mention boolean defaults 2016-04-06 09:24:03 -04:00
Christopher Boumenot ad3d674919 Do not use Fprintf, use Fprint. 2016-04-05 22:41:26 -07:00
Chris Bednarski d0ddf34e6e Merge pull request #3410 from srhaber/chef_ssl_verify_mode_doc
Add documentation for ssl_verify_mode
2016-04-05 15:04:49 -07:00