Commit Graph

5875 Commits

Author SHA1 Message Date
Ian Duffy fa273f3bea Allow configurable VNC bind IP for QEMU
This commit allows for a user configurable VNC bind IP to be used for
QEMU.

By default this will be 127.0.0.1, alternatively, a user can use
0.0.0.0 which will bind to all interfaces.

This pull request should satisfy concerns of #3570 and #3559. It is
also in-line with the functionality provided by #3566 and #3565

Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-25 10:10:12 +01:00
Ian Duffy 9abd8b16bc Update documentation to include vnc_bind_address
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-25 09:38:40 +01:00
Ian Duffy 4ca03a95c6 Update documentation to include vrdp_bind_address
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-25 09:36:27 +01:00
Chris Bednarski 7759229b9d Merge branch 'master' of https://github.com/mitchellh/packer 2016-05-24 15:42:42 -07:00
Chris Bednarski 2456ec2b87 Added disable_stop_intance to changelog 2016-05-24 15:42:33 -07:00
Chris Bednarski 42a9d9d5a1 Merge pull request #3352 from chalfant/disable-stop-instance
Disable stop instance
2016-05-24 15:40:54 -07:00
Chris Bednarski 6097a79375 Added ansible host key checking to changelog 2016-05-24 15:37:17 -07:00
Billie Cleek 49067e732a append ANSIBLE_HOST_KEY_CHECKING correctly (#3568)
Append the ANSIBLE_HOST_KEY_CHECKING environment variable correctly
regardless of whether the template specifies some environment variables.
2016-05-24 15:34:51 -07:00
Chris Bednarski 97772d0dee Added warning not to use instance builder with windows 2016-05-24 15:19:06 -07:00
Ian Duffy 9ec319e296 Allow configurable VNC bind IP for VirtualBox builders
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-23 14:24:16 +01:00
Ian Duffy 0327f6c935 Allow configurable VNC bind IP for VMware builders
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-23 14:07:03 +01:00
Brian Candler 873760e69e Clarify how to run with logs if qemu fails to start (#3561) 2016-05-20 14:25:52 -07:00
Justin Phelps c53e3d01c0 Adding reference to GetPasswordData in the Amazon builder documentation. Fixes #3546 (#3558) 2016-05-20 10:15:40 -07:00
Brian Candler 56313450a9 Headless documentation (#3557)
* Add some notes about qemu headless mode

Partly resolves #3530
2016-05-20 10:01:41 -07:00
Chris Bednarski 24cf28d4b6 Merge branch 'yoctocloud-accelerator' 2016-05-19 22:54:19 -07:00
Chris Bednarski 6c1ca3ad49 Updated qemu docs to reflect new behavior 2016-05-19 22:54:08 -07:00
Chris Bednarski bff939b373 Added comment on why we need to open /dev/kvm before using it 2016-05-19 22:53:53 -07:00
Chris Bednarski 45e6a238ff Merge pull request #3050 from andqui/master
vmware-iso-builder: Fix for non consequential if statement (failing ESXi iso builds).
2016-05-19 17:43:49 -07:00
Chris Bednarski 0f6633d324 Added vsphere fixes to changelog 2016-05-18 19:10:11 -07:00
Chris Bednarski d98735a37d Merge branch 'master' of https://github.com/mitchellh/packer 2016-05-18 19:06:52 -07:00
Chris Bednarski 892bdefc54 Added additional bug fixes and recent features to the changelog 2016-05-18 19:06:45 -07:00
Robert Deusser 9219ffa982 Resolves vsphere post-processor problems (#3321)
* Fixed vsphere post-processor and added logic for optional arguments

* Refactored arg building, and added test for vsphere post-processor
2016-05-18 18:26:46 -07:00
Chris Bednarski 91e75ee257 Reformat checksum in changelog 2016-05-18 17:53:38 -07:00
Chris Bednarski 35506b89a2 Added checksum post-processor to changelog 2016-05-18 17:51:57 -07:00
Vasiliy Tolstov d64603e137 initial import of checksum post-processor (#3492)
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-18 17:31:16 -07:00
Christopher Boumenot c1e7caf53c Validate capture variables to obey Azure's rules. (#3537) 2016-05-18 17:25:57 -07:00
Gonzalo Peci 9c9f8cd451 Add winrm functionality to null provisioner (#2525)
* Add new functions to communicator helper to return the user, password, host, based on the communicator used.

This implementation can help then generalize the provisioeners later on.

* Update null builder checks to utilize the new functions and check for ANY hostname or user or password

* Update builder to user any hostname
2016-05-18 17:22:53 -07:00
Christopher Boumenot dca2b515a3 Update to go-autorest v7.0.5. (#3554) 2016-05-18 17:18:46 -07:00
Vasiliy Tolstov b67ee530c8 post-processor/shell-local: don't set executable bit for artifact files (#3505)
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-18 16:15:26 -07:00
Avi Deitcher e9a9219725 Clarify how shell-local post-processor gets called and when, with an example (#3511) 2016-05-18 16:07:21 -07:00
Hidekazu Tanaka 3728e076fe Fix SSH Agent Forwarding exmaple 2016-05-18 16:04:56 -07:00
David J. Felix b7bff9d251 Fix misdocumentation of "variables" attribute (#3433)
- Variables is not a JSON array or "[]" it is a JSON object "{}" or map.
2016-05-18 16:00:49 -07:00
Vasiliy Tolstov 0f638f9111 builder/qemu: add simple kvm/tcg autodetection
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-18 15:38:38 +03:00
Sean Chittenden ef42021f8f Fix unit tests, broken in #3549. (#3548) 2016-05-17 15:42:15 -07:00
Chris Bednarski 5a5d59c2bd Merge pull request #3547 from sean-/f-debug-boot-commands
Debug boot commands for QEMU and Parallels
2016-05-17 14:32:09 -07:00
Christopher Boumenot 83e6044595 Documentation for the Azure builder. (#3518) 2016-05-17 14:15:24 -07:00
Sean Chittenden 98bae9c98e
Pause between boot_commands when debugging a QEMU build
When debugging a build (or maintaining an existing packer template), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer template.
2016-05-17 17:14:50 -04:00
Sean Chittenden d0fd698fb5
Pause between boot_commands when debugging a Parallels build
When debugging a build (or maintaining an existing packer file), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer template.
2016-05-17 17:10:10 -04:00
Christopher Boumenot 5484b9c7d0 Do not use a communicator for unit tests. (#3539) 2016-05-17 13:53:01 -07:00
Sean Chittenden d430b7b763 Go's -X linker flag now requires only one argument (#3540)
This fixes building `packer` with Go >1.6.  From https://golang.org/cmd/link/:

```
-X importpath.name=value
	Set the value of the string variable in importpath named name to value.
	Note that before Go 1.5 this option took two separate arguments.
	Now it takes one argument split on the first = sign.
```
2016-05-17 13:24:04 -07:00
Chris Bednarski c34324b78c Added boot_command pause to changelog 2016-05-17 13:06:03 -07:00
Chris Bednarski a4f855803c Merge pull request #3542 from sean-/f-debug-boot-commands
Pause between boot_commands when debugging a VMware/VirtualBox build
2016-05-17 13:04:27 -07:00
Sean Chittenden 3ca4782b56
Pause between boot_commands when debugging a Virtualbox build
When debugging a build (or maintaining an existing packer file), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer file.
2016-05-17 04:03:45 -04:00
Sean Chittenden 9b3f8a4be9
Pause between boot_commands when debugging a VMware build
When debugging a build (or maintaining an existing packer file), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer file.

```
==> vmware-iso: Typing the boot command over VNC...
==> vmware-iso: Pausing after run of step 'boot_command[0]: <enter><wait>'. Press enter to continue.
==> vmware-iso: Pausing after run of step 'boot_command[1]: <enter><wait>'. Press enter to continue.
==> vmware-iso: Pausing after run of step 'boot_command[2]: freebsd-vagrant<enter><wait>'. Press enter to continue.
==> vmware-iso: Pausing after run of step 'boot_command[3]: <down><spacebar>'. Press enter to continue. ^C
```
2016-05-17 03:50:00 -04:00
Chris Bednarski 71ccbd4421 Added google image_family to changelog 2016-05-13 19:30:55 -07:00
Chris Bednarski a5b763418f Merge pull request #3531 from mitchellh/f-gce-image-family
Add support for Google image family
2016-05-13 15:40:03 -07:00
Chris Bednarski 2f0e1218dc Move regexp to package scope so it will be validated by the compiler instead of at runtime 2016-05-13 15:37:25 -07:00
Peter Schultz f469434f74 Update google.golang.org/api/compute/v1 2016-05-13 15:24:02 -07:00
Peter Schultz a99a417db9 builder/googlecompute: validate image_family 2016-05-13 15:24:02 -07:00
Peter Schultz 8546aafec5 builder/googlecompute: support image family 2016-05-13 15:24:02 -07:00