Commit Graph

11456 Commits

Author SHA1 Message Date
Megan Marsh 65124985d1 don't set DetectZeroes if it's off, because some versions of QEMU don't support this option 2018-12-03 15:52:13 -08:00
Ali Rizvi-Santiago fa4998e1ec Modified StepCleanVMX to walk through the "temporaryDevices" statebag so that we can disable or remove its devices cleanly. This gets rid of the regex hack that was previously used to identify a cdrom-image. 2018-12-03 17:50:40 -06:00
Ali Rizvi-Santiago e0d3861e81 Updated StepCreateVMX to add the CDROM device that packer uses to the "temporaryDevices" statebag so that StepCleanVMX can unmount its ISO later. 2018-12-03 17:48:05 -06:00
Ali Rizvi-Santiago 3512c3c5ea Updated StepConfigureVMX to add the floppy disk device to the "temporaryDevices" statebag so that StepCleanVMX can remove it later. 2018-12-03 17:48:05 -06:00
Ali Rizvi-Santiago 27b16cee0a Added a new "temporaryDevices" key to the VMware builders' statebag in order to keep track of devices that were temporarily added during build and need to be removed later by StepCleanVMX. 2018-12-03 17:47:45 -06:00
Adrien Delorme 6f24bc48ac
Merge pull request #7036 from arizvisa/safe.packer-config_file_unix
Replaced unsafe method of determining a user's home directory with an implementation based on os/user.
2018-12-03 10:55:52 +01:00
Christopher Boumenot c7d8f4e150 azure: configuration for disk caching
Export a configuration knob to change the disk caching setting. The
default value remains ReadWrite.  This seems the most appropriate value
given Packer.  Certain disk sizes require that disk caching be disable,
and this knob allows the user to do just that.
2018-11-30 14:14:43 -08:00
Megan Marsh d246632c3a
Merge pull request #7058 from hashicorp/breakpoint-provisioner
Add a new breakpoint provisioner
2018-11-30 11:04:44 -08:00
Megan Marsh a1dc3d8a62
Merge pull request #7054 from hashicorp/f-update-ebs-example
amazon-ebs update simple example
2018-11-30 10:55:23 -08:00
Megan Marsh 8a7ec456f1 use error groups so we can return errors 2018-11-30 10:46:40 -08:00
Adrien Delorme 1055c119bc make code of homeDir, configFile & configDir not os specific anymore 2018-11-30 15:47:43 +01:00
Adrien Delorme 5147ac0364 use Getenv instead of LookupEnv so users can set USER="" and HOME="" + lookup different username only if it is different thant the current username 2018-11-30 14:56:53 +01:00
Megan Marsh c03894c05d fix bad interpolation exemption for volume_size 2018-11-29 16:39:43 -08:00
Alvaro Miranda Aguilera 180d7c587a
Update amazon-ebs.html.md 2018-11-30 01:16:25 +01:00
Megan Marsh e6477d13fb fix empty return 2018-11-29 15:22:26 -08:00
Megan Marsh a93721c54d add disable option to breakpoint provisioner 2018-11-29 15:09:14 -08:00
Megan Marsh 1aeb29036a docs 2018-11-29 14:47:06 -08:00
Megan Marsh ba25e68fe0 add a new breakpoint provisioner 2018-11-29 14:32:52 -08:00
Adrien Delorme c29268a5d2
Merge pull request #7046 from nferch/hcloud_snapshot_labels
add snapshot_labels to hcloud builder
2018-11-29 13:48:57 +01:00
Adrien Delorme fbb508e127
use map instead of object in docs for consistency 2018-11-29 13:48:33 +01:00
Alvaro Miranda Aguilera c9da8786f6
amazon-ebs update simple example
update simple example to make it copy/paste works
2018-11-29 12:32:07 +01:00
Megan Marsh a2c3b35bff
Merge pull request #7032 from hashicorp/fix_region_validation
move region validation to run so that we don't break validation when no creds are set
2018-11-28 15:02:18 -08:00
Megan Marsh 11ef407b4d
Merge pull request #7016 from rickard-von-essen/vmware-tech-prev
vmware: Correctly parse version for VMware Fusion Tech Preview
2018-11-28 14:59:53 -08:00
Megan Marsh 5065adea5a whitespace 2018-11-28 10:38:53 -08:00
Megan Marsh fcc6ba420b
Merge pull request #7051 from bewiwi/master
Backport VNC log from vmware to qemu
2018-11-28 10:34:49 -08:00
PORTE Loïc bf97557abf Backport VNC log from vmware to qemu 2018-11-28 19:13:29 +01:00
Megan Marsh 6a3230b441
Merge pull request #7047 from hashicorp/pr_love
add more detail to contributing.md about PR best practices
2018-11-28 10:07:51 -08:00
Megan Marsh 00f7aefe8c
Merge pull request #6969 from juliosueiras/f-vsphere-template-snapshot
Add a Optional Step for Creation of Snapshot to vSphere Template
2018-11-28 09:39:20 -08:00
Julio Tain Sueiras 51053efad2 Docs changes & Removed memory and quiesce options from vsphere-template 2018-11-28 11:25:01 -05:00
bozhi.ch a485bcfdf3 delete copied image and snapshots if corresponding options are specified 2018-11-28 21:34:21 +08:00
Adrien Delorme 2174652876
Merge pull request #7048 from hashicorp/follow_up_7019
fix defaulting/lack thereof for cpu count and memory in vmware template
2018-11-28 11:08:14 +01:00
Megan Marsh ec75913412 fix crash that occurs when dir is nil 2018-11-27 16:34:26 -08:00
Megan Marsh 89fb8f0d3e fix defaulting/lack thereof for cpu count and memory in vmware template 2018-11-27 15:43:48 -08:00
Megan Marsh f380028b41
Merge pull request #7043 from hashicorp/codeowners
add code owners for hcloud and update codeowner for alicloud
2018-11-27 12:45:54 -08:00
Nathan A. Ferch fccd7d0692 add snapshot_labels to hcloud builder 2018-11-27 14:41:32 -05:00
Megan Marsh 5067101304
Merge pull request #5950 from mcandre/live-distributions
Option to keep ISO attached for live distributions
2018-11-27 09:59:01 -08:00
Megan Marsh c29e25ae8a add some advice in contributor docs about how to make faster-merging prs 2018-11-27 09:53:03 -08:00
Megan Marsh 6728244480 simplify for loop logic 2018-11-27 09:33:29 -08:00
Andrew Pennebaker c05ac784d3 fix tests 2018-11-27 09:31:01 -08:00
Andrew Pennebaker 5ada3376b8 fix test 2018-11-27 09:31:01 -08:00
Andrew Pennebaker 2c989157e4 gofmt 2018-11-27 09:31:01 -08:00
Andrew Pennebaker 5b6cbeed1d expose `--iso` option down in `VBoxManage export --iso` up to virtualbox-iso configuration as "bundle_iso"; ensure ISOs are not removed when this is enabled. 2018-11-27 09:31:01 -08:00
Adrien Delorme fb196d02cd
Update CODEOWNERS
Co-Authored-By: SwampDragons <megan@hashicorp.com>
2018-11-27 09:10:07 -08:00
Adrien Delorme c6cf3b6bb1
Merge pull request #7044 from hashicorp/fix_7026
make displayname docs very clear about inheritance
2018-11-27 11:57:06 +01:00
Megan Marsh 198b6ad0cc update changelog 2018-11-26 16:57:25 -08:00
Megan Marsh d0afc905fc make displayname docs very clear about inheritance 2018-11-26 15:43:11 -08:00
Megan Marsh 8cc3320977
Merge pull request #7034 from zenjoy/hcloud/rescue_mode
[Hetzner Cloud] Support for builds using rescue mode
2018-11-26 11:39:34 -08:00
Megan Marsh 7407e7b276 add code owners for hcloud and update codeowner for alicloud 2018-11-26 11:13:45 -08:00
Megan Marsh 4fc78d8408
Merge pull request #7040 from chhaj5236/feature/tags_contain_snapshot
alicloud: apply tags to relevant snapshots
2018-11-26 11:04:56 -08:00
Megan Marsh 9a69650378
Merge pull request #7041 from chhaj5236/feature/update_win_example
alicloud: update windows examples
2018-11-26 11:00:01 -08:00