Commit Graph

9059 Commits

Author SHA1 Message Date
Ali Rizvi-Santiago 0d6cf7fac4 Added support for auto-detection to the serial and parallel port types.
Included the yield option to all the serial port types.
Added the ability for the network type to fallback to a custom network if the
    specified network name is not found in netmap.conf.
Promoted the scope for both Read{Dhcp,Netmap}Config inside vmwcommon.driver.
Updated the documentation for the VMware builder.
2018-02-02 19:14:29 -06:00
Ali Rizvi-Santiago b52e2d3f45 Added the ability for the vmware-builder to fallback and determine the network device-name using the .vmx configuration in case of a guest using the "custom" connection type. 2018-02-02 19:13:02 -06:00
Ali Rizvi-Santiago e389d30a1b Implemented the unit-tests for builder/vmware/iso/step_create_vmx.go 2018-02-02 19:13:02 -06:00
Ali Rizvi-Santiago 15cb6a833a Ugh..missing argument in VMware builder's driver_esx5 unit-test due to api change for .HostIP(). Fixed. 2018-02-02 19:11:41 -06:00
Ali Rizvi-Santiago 9b95ce0bc6 Completely forgot to support the unix paths in each of the drivers for the VMware builder. Fixed. 2018-02-02 19:11:41 -06:00
Ali Rizvi-Santiago 4225b3568e Fixed bad ORs and a bad fmtstring. 2018-02-02 19:11:41 -06:00
Ali Rizvi-Santiago 75d3ea7cee Added support for sound, serial ports, parallel ports, usb, and specifying a default network to the vmware builder.
builder/vmware/{iso,vmx}:
    Added the specific configuration options that get parsed.
    Normalize paths when pulling them from the json template so that they'll work on Windows too.
    Added some improved error checking when parsing these options.
    Stash the vm's network connection type so that other steps can figure out addressing information
    Modified the esx5 driver to support the new addressing logic.
    Modified the template in step_create_vmx to include the new options.

builder/vmware/common:
    Implemented a parser for vmware's configuration files to the vmware builder.
    Modified the driver's interface to include support for resolving both guest/host hw and ip addresses
    Implemented a base structure with some methods that implement these features.
    Rewrote all ip and mac address dependent code to utilize these new methods.
    Removed host_ip and guest_ip due to their logic being moved directly into a
        base-structure used by each driver. The code was explicitly checking runtime.GOOS
        instead of portably using net.Interfaces() anyways.
    Updated driver_mock to support the new addressing methods
2018-02-02 19:11:41 -06:00
SwampDragons ff1ffd90e0
Merge pull request #5840 from hashicorp/docs-oracle-builders
group oracle builders under a single heading.
2018-02-02 14:31:33 -08:00
SwampDragons 8ae8f31a52
Merge pull request #5681 from mcandre/super-key
add super key (vmware builder)
2018-02-02 13:33:11 -08:00
Matthew Hooker 399431c00b
group oracle builders under a single heading. 2018-02-02 12:39:45 -08:00
SwampDragons 997f8e4a2a
Merge pull request #5318 from hashicorp/sigtermcleanup
Gracefully clean up on SIGTERM
2018-02-02 11:56:56 -08:00
SwampDragons caea770af1
Merge pull request #5819 from hashicorp/oracle-oci-builder
Oracle oci builder
2018-02-02 11:56:18 -08:00
SwampDragons 736e17d198
Merge pull request #5822 from SharePointOscar/master
Updated to use latest Azure CLI
2018-02-02 11:55:35 -08:00
Matthew Hooker 56c5216efb
Merge pull request #5839 from hashicorp/fix-freebsd-vagrant
vagrant: Correct name of vim package for FreeBSD
2018-02-02 11:26:59 -08:00
James Nugent c132bd867e vagrant: Correct name of vim package
The non-X11-linked version of vim recently changed name from vim-lite to
vim-console, which was preventing bootstrap.
2018-02-02 13:14:13 -06:00
Megan Marsh addedbb680 Revert "Merge pull request #5515 from DanHam/dot-source-env-vars"
revert so we can use a branch that's had more recent work done
This reverts commit e56849c605, reversing
changes made to 6d14eb6ea4.
2018-02-02 09:58:39 -08:00
Megan Marsh 79fe900378 Revert "Merge pull request #5376 from DanHam/ps-escapes"
Revert so that we can merge a different branch that's had more recent work instead
This reverts commit ba518637d4, reversing
changes made to e56849c605.
2018-02-02 09:57:36 -08:00
Megan Marsh 30a4998a81 branding 2018-02-01 16:35:10 -08:00
SwampDragons ec64cb3a1e
Merge pull request #5709 from BenPhegan/hyperv_mac_address
Allow MAC address specification for HyperV Builders
2018-02-01 16:23:29 -08:00
Megan Marsh d25a26e78a update changelog in prep for 1.2.0 2018-02-01 14:52:22 -08:00
Ben Phegan 3c88e787df
Merge branch 'master' into hyperv_mac_address 2018-02-02 09:26:52 +11:00
SwampDragons ba518637d4
Merge pull request #5376 from DanHam/ps-escapes
[WIP] Escape of chars special to PowerShell in user data
2018-02-01 14:00:19 -08:00
DanHam 6ad4917960 First attempt at fixer for powershell escapes 2018-02-01 13:19:37 -08:00
DanHam 7443adf2fd Simpler escape of chars special to PowerShell in user supplied data 2018-02-01 13:19:07 -08:00
DanHam 68e13c90b1 Revert "Escape chars special to PowerShell in user supplied data"
This reverts commit 53aefe744bcd74ee6ac866f764eafe9e7f507d80.
2018-02-01 13:19:07 -08:00
DanHam b67c64fd66 Tests for escape of chars special to PowerShell in user supplied data 2018-02-01 13:19:07 -08:00
DanHam f3c326bb3c Escape chars special to PowerShell in user supplied data 2018-02-01 13:11:05 -08:00
SwampDragons e56849c605
Merge pull request #5515 from DanHam/dot-source-env-vars
Extend upload and subsequent dot sourcing of env vars to non-elevated Powershell cmd
2018-02-01 13:06:01 -08:00
SharePointOscar db1566f6d2 Merge branch 'master' of https://github.com/SharePointOscar/packer 2018-01-31 18:00:36 -08:00
SharePointOscar 59ecaee2fe implemented changes as per feedback for Azure CLI 2.0 2018-01-31 18:00:13 -08:00
SwampDragons 6d14eb6ea4
Merge pull request #5631 from vijayinvites/diffdisks
[Hyper-V] Use differential disks and Inline disk creation to improve build time (a lot) and to reduce disk usage(a lot)
2018-01-31 16:51:27 -08:00
Megan Marsh 383ac13e2a update default of image list after adding new entry. 2018-01-31 16:37:55 -08:00
SwampDragons 074ddbea8e
Merge pull request #5732 from KohlsTechnology/vagrant_google
Add vagrant post-processor support for Google
2018-01-31 15:49:02 -08:00
Megan Marsh 8f7937f492 fix machine image name to include prepended / 2018-01-31 15:22:09 -08:00
Megan Marsh 3180dc327c remove copypasta comment 2018-01-31 15:02:19 -08:00
Matthew Hooker 96bbf964f6
Merge pull request #5835 from hashicorp/fix_5767
fix file leak
2018-01-31 13:31:50 -08:00
Matthew Hooker 8bdd3b45c7
use helper functions for reading vmx files 2018-01-31 13:19:31 -08:00
Matthew Hooker 9f87213ba4
tests and docs for #5831 2018-01-31 13:08:25 -08:00
Matthew Hooker 3127bfbcfb
Merge pull request #5831 from uShip/chef-client-policyfiles
Added Policyfile support to chef-client provisioner
2018-01-31 12:54:27 -08:00
Matthew Hooker aa76c47019
Merge pull request #5703 from frankdannhauer/5335
Fix #5335
2018-01-31 12:53:49 -08:00
Matthew Hooker 918a50225b
cleanup docs 2018-01-31 12:52:04 -08:00
Megan Marsh 66cd85828e rename dest_image_list_description to image_description 2018-01-31 12:48:40 -08:00
Matthew Hooker ed1057518f
Merge pull request #5729 from Malet/patch-2
Improve vmware-iso disk_type_id documentation
2018-01-31 12:46:33 -08:00
Matthew Hooker 73e8be022d
call out hax accelerator issue 2018-01-31 12:45:38 -08:00
Matthew Hooker baf8d30ad2
Merge pull request #5738 from testworksau/intel-haxm-support
Add Intel HAXM support to QEMU builder
2018-01-31 12:41:15 -08:00
Matthew Hooker 2ecefbbf35
Merge pull request #4709 from hashicorp/sshdeadline
set deadline in ssh connection
2018-01-31 12:36:10 -08:00
Matthew Hooker ff6425fb22
better documentation 2018-01-31 12:35:25 -08:00
Matthew Hooker 63f1673909
ssh deadlines 2018-01-31 12:35:25 -08:00
Megan Marsh 64e26d6fa2 update example file in the oracle-classic docs 2018-01-31 12:23:25 -08:00
Matthew Hooker b9c0d3ab56
Merge pull request #5830 from hashicorp/sshkeepalive
add session level keep-alives for ssh communicator
2018-01-31 12:23:02 -08:00