Megan Marsh
508b6efb4a
Cut version 1.3.3
2018-12-05 10:54:30 -08:00
Megan Marsh
a7d54a207f
update to version 1.3.3
2018-12-05 10:46:33 -08:00
Megan Marsh
ef095ad7c0
update changelog
2018-12-05 10:45:51 -08:00
Matt Dainty
5fed453047
Ignore an already-scheduled reboot
...
If the previous provisioner already scheduled a reboot don't error we
can't schedule another one.
2018-12-05 15:43:22 +00:00
Ali Rizvi-Santiago
2e977019e4
Modified the docker builder's default run_command to specify the shell via the entrypoint command line argument as suggested by @vrubiolo in #6920 .
2018-12-04 23:52:17 -06:00
bozhi.ch
0174a502eb
support -force option and update docs
2018-12-05 11:50:35 +08:00
Ali Rizvi-Santiago
310ea6c006
Updated docker's default config to use regular bourne shell instead of bourne again. Closes #6920 .
2018-12-04 18:28:48 -06:00
Megan Marsh
af73071489
sort changelog
2018-12-04 16:28:13 -08:00
Ali Rizvi-Santiago
ecf45d4740
Added tests for packer.ExpandUser in packer/config_file_test.go.
2018-12-04 16:54:49 -06:00
Ali Rizvi-Santiago
194f31aba1
Revert "Removed mitchellh/go-homedir from vendor packages."
...
This reverts commit f156f00ccad3f7b16ece894109d1de4968ddfa88.
2018-12-04 16:54:49 -06:00
Ali Rizvi-Santiago
b0af406e08
gofmt using v1.11.2 instead of disro's outdated v1.10.5.
2018-12-04 16:54:49 -06:00
Ali Rizvi-Santiago
040a33567e
Trying again one more time to prevent import cycles.. Moved common.ExpandUser into packer.ExpandUser..
2018-12-04 16:54:47 -06:00
Ali Rizvi-Santiago
79b68fb89c
Replaced the previous incorrect logic with an re-implementation of common.ExpandUser.
2018-12-04 16:53:33 -06:00
Ali Rizvi-Santiago
e04986659a
Changed the logic for when to actually prefix a path with a u.HomeDir so that it's only done when a non-absolute path is specified.
2018-12-04 16:53:33 -06:00
Ali Rizvi-Santiago
a4a42001f5
Removed mitchellh/go-homedir from vendor packages.
2018-12-04 16:53:33 -06:00
Ali Rizvi-Santiago
1a3c3f2ffc
Replaced all instances of mitchellh/go-homedir with an implementation based on os/user.
2018-12-04 16:53:33 -06:00
Megan Marsh
65b513fdfc
update version
2018-12-04 11:30:06 -08:00
Megan Marsh
66855747a3
update changelog
2018-12-04 11:28:09 -08:00
Megan Marsh
152f6fed8f
Merge pull request #7066 from arizvisa/vmware-temporary-devices
...
Add a "temporaryDevices" key to the statebag for the VMware builder
2018-12-04 10:34:37 -08:00
Megan Marsh
40df713453
Merge pull request #7064 from hashicorp/fix_7004
...
don't set DetectZeroes if it's off, because some versions of QEMU don…
2018-12-04 09:38:54 -08:00
Adrien Delorme
9bd802b6ec
Merge pull request #7065 from hashicorp/fix_6405
...
reverts 406bf9c4aad7c925c3f5a837fe7f9c71169af098; this was incorrect …
2018-12-04 11:43:51 +01:00
Megan Marsh
fa6eb3fdea
reverts 406bf9c4aad7c925c3f5a837fe7f9c71169af098; this was incorrect interpretation of the intent of the inventoryDirectory template option
2018-12-03 16:08:47 -08:00
Ali Rizvi-Santiago
96bdf17d2e
Added knowledge of the "temporaryDevices" statebag to the StepCleanVMX tests for the VMware builders.
2018-12-03 18:03:02 -06:00
Megan Marsh
7bc3128e18
update docs for detect-zero
2018-12-03 15:56:35 -08:00
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