Adrien Delorme
d72040f4fa
move retry code into the common/retry pkg and make retry context aware
2019-04-09 17:46:38 +02:00
Adrien Delorme
e5cc032938
Merge pull request #7482 from schrej/patch-1
...
Docs: fix typo in openstack builder
2019-04-09 17:05:50 +02:00
Jakob
65afb675d1
Fix typo in openstack builder docs
2019-04-09 16:51:39 +02:00
BobSilent
5b289f67fe
Update hyperv.go
...
maybe also a fix for issue #5023
at least I got same error like there, incl. VM response
==> hyperv-iso: Host IP for the HyperV machine: False
although #4947 is marked as duplicate but shows different error output
==> hyperv-iso: Error getting host adapter ip address: PowerShell error: Get-VMNetworkAdapter : No network adapter is found with the given input.
2019-04-09 07:36:52 +02:00
Shana Matthews
9e5726b98a
update account link
2019-04-08 19:48:58 -07:00
Adrien Delorme
aa3cb5be63
document common provisioner parameters
2019-04-08 20:09:22 +02:00
Adrien Delorme
0b4ada9690
make sleep provisioner available to packer
2019-04-08 20:09:22 +02:00
Adrien Delorme
d7b1b597a7
test provisionning timeout
2019-04-08 20:09:21 +02:00
Adrien Delorme
06941a86a3
make the file builder run provisioners for testing purposes
2019-04-08 20:09:21 +02:00
Adrien Delorme
2b06d74019
add a sleep provisioner
...
mainly for testing purposes
2019-04-08 20:09:21 +02:00
Adrien Delorme
eadb40da91
Update communicator_test.go
...
fix tess
2019-04-08 20:09:21 +02:00
Adrien Delorme
2a90ce6178
packer communicator: use iochan.LineReader instead of iochan.LineReader(in)
...
* as it's the recommended way
2019-04-08 20:09:21 +02:00
Adrien Delorme
d8d5631dc2
allow to set provisioner timeout from buildfile
2019-04-08 20:09:21 +02:00
Adrien Delorme
f555e7a9f2
allow a provisioner to timeout
...
* I had to contextualise Communicator.Start and RemoteCmd.StartWithUi
NOTE: Communicator.Start starts a RemoteCmd but RemoteCmd.StartWithUi will run the cmd and wait for a return, so I renamed StartWithUi to RunWithUi so that the intent is clearer.
Ideally in the future RunWithUi will be named back to StartWithUi and the exit status or wait funcs of the command will allow to wait for a return. If you do so please read carrefully https://golang.org/pkg/os/exec/#Cmd.Stdout to avoid a deadlock
* cmd.ExitStatus to cmd.ExitStatus() is now blocking to avoid race conditions
* also had to simplify StartWithUi
2019-04-08 20:09:21 +02:00
Adrien Delorme
f7cd2b9334
add a 5 seconds timeout to provisioner hook
2019-04-08 20:09:21 +02:00
Adrien Delorme
a81abd297b
Merge remote-tracking branch 'origin/master' into context_provisioner
2019-04-08 20:09:01 +02:00
Megan Marsh
0a52d3afc9
update changelog
2019-04-08 11:04:13 -07:00
Megan Marsh
b7d62b2ae0
Merge pull request #7391 from carlpett/proxmox-builder
...
Implement Proxmox builder
2019-04-08 09:54:11 -07:00
Megan Marsh
c36eaf16f7
Merge pull request #7473 from MisterMiles/patch-1
...
Update shell-local.html.md
2019-04-08 09:53:39 -07:00
Megan Marsh
efd568c10c
fix docs
2019-04-08 09:30:23 -07:00
Calle Pettersson
65cd5bbd29
Change disk size config parameter name
2019-04-06 08:10:28 +02:00
Megan Marsh
1d7b6fd810
Merge pull request #7474 from hashicorp/test_timeout_bump
...
increase timeout for tests to reduce flakiness in travis
2019-04-05 13:00:45 -07:00
Megan Marsh
12bd1c5f96
increase timeout for tests to reduce flakiness in travis
2019-04-05 10:57:47 -07:00
Megan Marsh
3777f7d34a
update changelog
2019-04-05 10:39:46 -07:00
Megan Marsh
3e72e65a6c
Merge pull request #7456 from hashicorp/do_5770
...
introduce the clean_resource_name to clean image/var names
2019-04-05 09:12:20 -07:00
Megan Marsh
1f7150e2ee
Merge pull request #7463 from hashicorp/default_keep_input_artifact
...
Default keep input artifact
2019-04-05 08:10:40 -07:00
MisterMiles
5ab8cc6ded
Update shell-local.html.md
...
The last sentence is misleading because it is assumed that the shell-inline parameter is only executed on the machine which is build by packer.
2019-04-05 16:16:25 +02:00
Adrien Delorme
a08d9dec9b
add a Fixer that replaces the "clean_(image|ami)_name" template calls with "clean_resource_name"
2019-04-05 15:30:41 +02:00
Megan Marsh
04b57b3e32
fix tests; clean up ip file after build
2019-04-04 22:33:24 -07:00
Megan Marsh
2b0209b8fd
Merge pull request #7468 from hashicorp/less_travis
...
building on go master is just wasting our time.
2019-04-04 15:48:33 -07:00