Commit Graph

13353 Commits

Author SHA1 Message Date
Matt Kotsenas cf8e2bdeb1
Clarify sysprep log message in Azure example
The Azure example uses an inline PowerShell script to wait for sysprep to complete. While waiting, it prints out the current setup state *if the state is **not** complete*, otherwise it breaks and shuts down.

This logging behavior can be confusing because the last message logged says that sysprep is not completed. To clarify things, move the log statement ahead of the "if" check so the result of each polling operation is logged.
2019-09-18 18:49:11 -07:00
Megan Marsh 30f86bb778 fix ssh and package steps to use source syntax. 2019-09-18 13:15:49 -07:00
Megan Marsh 35922ca327
Merge pull request #7918 from dekimsey/support-ssh-tunnels
Support for SSH port tunneling
2019-09-18 11:18:19 -07:00
Daniel Kimsey 887f3bb12e fixup: doc words 2019-09-18 11:09:41 -07:00
Daniel Kimsey 543d09a29c fixup: Propagate bind errors up 2019-09-18 11:09:41 -07:00
Daniel Kimsey 3b64620234 SSH tunneling support
Support for both local and remote TCP port tunneling. Includes updated
docs and tests.

Does not implement dynamic port forwarding (SSH's built-in SOCKS)
(uncertain difficulty) nor unix socket (potentially easy).
2019-09-18 11:09:41 -07:00
Megan Marsh 622be96fa0 copypasta 2019-09-18 10:54:35 -07:00
Megan Marsh bf4394ee95 build differently for openbsd because we can't cross compile the process library 2019-09-18 10:51:57 -07:00
Megan Marsh e59c122dff build differently for openbsd because we can't cross compile the process library 2019-09-18 10:51:46 -07:00
Megan Marsh 11c87a786a update go modules 2019-09-18 10:33:16 -07:00
Megan Marsh 09f63cea0b processinfo 2019-09-18 10:32:50 -07:00
Adrien Delorme f2a517dfd7
Merge pull request #8123 from omrisiri/patch-1
Fix security constraints on windows machines
2019-09-18 14:48:04 +02:00
Omri Siri 562f920336
Fix security constraints on windows machines
Due to a security update - windows has enabled security restrictions blocking WinRM basic authentication and unencrypted traffic 
and also changes the password requirements to require longer passwords.
This change fixes both
2019-09-18 12:14:36 +03:00
Megan Marsh 577a34b1c3
Merge pull request #8106 from shapeblue-br/master
[cloudstack builder] Detach iso option step
2019-09-17 10:15:09 -07:00
Megan Marsh 35357616e0
Merge pull request #8112 from milescrabill/packer-googlecompute-validate-imagename
googlecompute: fail fast when image name is invalid, replace unusable characters w/ -'s
2019-09-17 10:00:33 -07:00
Megan Marsh c524e4c5a1
Merge pull request #8115 from cmaahs/master
magictime_docs: Adding a reference to the go docs for formatting
2019-09-17 09:50:50 -07:00
William Bianchini 3022576b57
Update cloudstack.html.md 2019-09-17 12:15:09 -03:00
Adrien Delorme f779530715
Merge pull request #8102 from hashicorp/fix_8085
don't fall for nil pointer dereference in account file
2019-09-17 17:00:52 +02:00
William Bianchini 39a1f64d52 Add cloudstack.html.md documentation of eject_iso and eject_iso_delay options
Usages and behavior.
2019-09-17 11:55:31 -03:00
Adrien Delorme adad25b50b fix switch statement 2019-09-17 16:25:44 +02:00
Adrien Delorme 79fbe98f90 document replace & replace_all 2019-09-17 16:21:06 +02:00
Adrien Delorme 52afb3ab05 go mod tidy && go mod vendor 2019-09-17 16:02:56 +02:00
Adrien Delorme feb3da4f56 replace sed usage with replace and replace_all funcs 2019-09-17 16:02:05 +02:00
Adrien Delorme a279d2e071 template funcs: got force template funcs to be 'FuncGenerator' 2019-09-17 16:01:22 +02:00
Adrien Delorme 8b5910c40a
Merge pull request #8118 from alrs/fix-builder-vagrant-dropped-errors
builder/vagrant: fix dropped errors in code and tests
2019-09-17 15:08:01 +02:00
Lars Lehtonen c6212731ff builder/vagrant: fix dropped errors in code and tests 2019-09-17 05:39:23 -07:00
Adrien Delorme 1b046647ac
Merge pull request #8113 from hashicorp/fix_8108
fix amazon import post-processor encryption
2019-09-17 11:06:11 +02:00
Christopher Maahs 89a8f8c6a9
Merge pull request #2 from cmaahs/magictime_docs
magictime_docs: Adding a reference to the go docs for formatting
2019-09-16 22:04:53 -05:00
cmaahs 3e6cc05751 magictime_docs: Adding a reference to the go docs for formatting 2019-09-16 22:02:42 -05:00
Christopher Maahs a3cb1daa07
Merge pull request #1 from hashicorp/master
Pull latest
2019-09-16 21:55:32 -05:00
Megan Marsh 39a57af3ee
Merge pull request #8114 from MattKotsenas/patch-1
Fix typos in azure-setup.html.md
2019-09-16 16:45:05 -07:00
Matt Kotsenas 17d2aa5f93
Fix typos in azure-setup.html.md
Fix a few typos in `azure-setup.html.md`.
2019-09-16 16:27:05 -07:00
Miles Crabill 2bff60bac8
address review feedback 2019-09-16 13:50:43 -07:00
Megan Marsh 9e28b2f5cf fix post-processor 2019-09-16 13:45:28 -07:00
Miles Crabill 328baced05
add some test cases for image names 2019-09-16 10:18:22 -07:00
Miles Crabill c11a444f77
googlecompute: fail fast when image name is invalid, replace unusable characters w/ -'s 2019-09-16 10:10:41 -07:00
Megan Marsh 8292c7f48f
Merge pull request #8110 from alrs/fix-builder-openstack-dropped-error
builder/openstack: Fix dropped error
2019-09-16 09:33:13 -07:00
Megan Marsh d0dd6e4bab
Merge pull request #8111 from hashicorp/remove_push_references
remove any reference to Push
2019-09-16 09:30:08 -07:00
Adrien Delorme 3b8f3c5a8b remove any reference to Push 2019-09-16 16:38:17 +02:00
Lars Lehtonen 6c1ce2bd9a builder/openstack: Fix dropped error 2019-09-16 06:26:56 -07:00
Adrien Delorme 4d4bd38afa
Merge pull request #8087 from hashicorp/fix_8048
add retry wrapper to query so it handles rate limiting
2019-09-16 10:25:12 +02:00
William Bianchini d022c2194a [cloudstack builder] Detach iso step
Detach iso file after loading image to cache, allowing OS to boot from
volume ater the installation

Add eject iso check and wait timeout

Closes #7235
2019-09-13 21:33:49 -03:00
Megan Marsh 5f7fa9bbcd update changelog 2019-09-13 16:54:54 -07:00
Megan Marsh a6e263adb6 don't fall for nil pointer dereference in account file 2019-09-13 16:37:19 -07:00
Megan Marsh fc6a4fd5d8
Merge pull request #8021 from hashicorp/fix_7959
[WIP] implement custom data type "trilean" (tri-state-boolean) to track boo…
2019-09-13 14:42:27 -07:00
Megan Marsh 9503802814 adding ctx makes the cancel channel redundant 2019-09-13 14:32:13 -07:00
Megan Marsh 4b497006b3 add retry wrapper to query so it handles rate limiting 2019-09-13 14:32:13 -07:00
Megan Marsh de27553128
Merge pull request #8099 from allinwait/f-add-floppy-label-setting
add the floppy label option
2019-09-13 14:02:24 -07:00
allinwait 34ba03d3cb use printf for logging 2019-09-13 01:53:42 +03:00
allinwait 171c2a9a07 add the floppy label option 2019-09-12 12:25:22 +00:00