Rickard von Essen
a90fccf329
Updated CHANGELOG.md
2018-08-22 14:29:58 +02:00
Rickard von Essen
057a635cab
Merge pull request #6532 from sermilrod/Allowing-fixed-port-in-forwarding-rules
...
Cloudstack builder: adding public_ssh_port flag to use a fixed port in the forwarding rules
2018-08-22 14:27:38 +02:00
Sergio Millan Rodriguez
befdb59da6
renaming public_ssh_port to public_port
2018-08-22 10:17:46 +01:00
Megan Marsh
41898ec7ba
Merge pull request #6611 from hashicorp/prettify_log_terminal_output
...
deduplicate logs that stream to terminal
2018-08-21 15:40:22 -07:00
Megan Marsh
941d2fcca6
deduplicate logs that stream to terminal
2018-08-21 15:24:17 -07:00
Megan Marsh
c1b50d365b
Merge pull request #5851 from arizvisa/multi-proto-progressbar
...
Add progress-bar to common/step_download.go
2018-08-21 15:08:22 -07:00
Megan Marsh
af48214ddd
Merge pull request #6606 from hashicorp/fix_6301
...
Make Windows-Restart provisioner work even when using ssh communicator
2018-08-21 13:44:01 -07:00
Megan Marsh
9fa47f5dad
make windows restart provisioner work with ssh communicator
2018-08-21 11:45:18 -07:00
Ali Rizvi-Santiago
cf9bbe3ecf
Incorporated the hack demonstrated by @SwampDragons in order to deal with packer.rpc.Ui not exporting any information about what it's doing to anybody.
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
5726927cba
Moved the progress bar out of packer.Ui and unlinked it out of all the packer.Ui implementations. Split up the terminal-related functions into a separate terminal.go and calculate the progress bar width by traversing through packer.Ui to avoid the issue with github.com/ugorji/go/codec serializing private members (or unsafe pointers) of structs. Shuffled some arguments around in getConsoleScreenBufferInfo in common/terminal_windows.go so that the interface forces the user to correctly declare a _CONSOLE_SCREEN_BUFFER_INFO type.
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
dc2088318e
Updated vendor package github.com/cheggaaa/pb to v1.0.25.
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
0f10032b3d
Moved the progress bar from common to the packer.UI interface and refactored it so that the terminal width is calculated based on each interface which returns a custom progressbar specific to its ui.
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
fd2fef8738
Added support for the progress bar to automatically determine its width using the minimum length from a packer.UI and the terminal dimensions via kernel32.GetConsoleScreenBufferInfo or an ioctl (TIOCGWINSZ) to "/dev/tty".
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
ac27e54c95
Updated vendor package github.com/cheggaaa/pb to v1.0.22
2018-08-20 21:55:18 -05:00
Ali Rizvi-Santiago
16ecb3ad9a
Reverted removal of progress-bar that was done by commit 5d97b105a8
and added some missing arguments that were missed during the rebase. Modified the default progress bar's width to 80 as a result of the conversation on PR #5851 .
2018-08-20 21:55:18 -05:00
Christopher Boumenot
a1fa35dff5
Merge pull request #6590 from abhinaykumar/patch-1
...
bug-fix: syntax error in createApplication()
2018-08-20 13:56:56 -07:00
Megan Marsh
ca743514b7
Merge pull request #6603 from hashicorp/revert-6593-iso_inplace
...
Revert "allow to use ISO images in-place v.s. copying them #6593" & only update logs
2018-08-20 11:35:47 -07:00
Adrien Delorme
a5587e30ec
log wether the file was transfered or is just being inplace referenced
2018-08-20 11:45:57 +02:00
Adrien Delorme
6b3844a64f
Revert "allow to use ISO images in-place v.s. copying them"
2018-08-20 10:48:06 +02:00
Rickard von Essen
3e00ca3608
Merge pull request #6600 from rickard-von-essen/os-dep-fix
...
Added missing gophercloud files
2018-08-17 21:24:40 +02:00
Rickard von Essen
3b7e23e7f9
Added missing gophercloud files
2018-08-17 20:33:14 +02:00
Megan Marsh
5dbd71b857
Merge pull request #6593 from hashicorp/iso_inplace
...
allow to use ISO images in-place v.s. copying them
2018-08-17 10:27:50 -07:00
Rickard von Essen
b85756c01e
Updated CHANGELOG.md
2018-08-17 15:40:31 +02:00
Rickard von Essen
d4c34159f4
Merge pull request #6373 from ozerovandrei/openstack-neutron-floatingips
...
OpenStack builder: floating IP refactoring
2018-08-17 15:38:33 +02:00
Rickard von Essen
3b535cbcbc
Merge pull request #6598 from hashicorp/docs_gcp_winrm_update
...
Small updates on the googlecompute website docs
2018-08-17 13:39:12 +02:00
Adrien Delorme
3ea8f9f50d
Small updates on the googlecompute website docs
2018-08-17 12:41:37 +02:00
Adrien Delorme
c744e8b2bb
make download messages less redudant and more simple
2018-08-17 09:29:39 +02:00
Andrei Ozerov
6bf442f039
OpenStack builder: fix floating IP docs
...
Update website documentation about "floating_ip_network" parameter.
Add new inline comment about alghoritm that is used for checking
floatingIP-related configuration parameters.
2018-08-17 07:55:31 +03:00
Andrei Ozerov
103403db48
OpenStack builder: do not always use floating IPs
...
Only associate floating IPs if user provided "floating_ip_network" or
"floating_ip".
Remove FindExternalNetwork helper method because it won't be used.
2018-08-17 00:49:06 +03:00
Megan Marsh
f00260e293
Merge pull request #6597 from mprince/docfix
...
Add env template function to doc
2018-08-16 14:27:45 -07:00
Marcel Prince
2cde0d6132
Add env template function to doc
2018-08-16 14:23:29 -07:00
Andrei Ozerov
5d6ba4301d
OpenStack builder: fix floating_ip_pool validation
...
Only use "floating_ip_pool" if "floating_ip_network" wasn't set.
Update unit test for the OpenStack builder parameters.
2018-08-17 00:15:18 +03:00
Andrei Ozerov
72de95a7e1
Vendor: add github.com/google/uuid package
...
Add a package to work with UUIDs. This package is used by the OpenStack
builder to check the provided network reference.
2018-08-16 23:42:35 +03:00
Andrei Ozerov
1af899248b
OpenStack builder: allow floating IP network name
...
Add support for the external network reference by it's name apart from
ID.
Include external network id in a log message of
the openstack/step_allocate_ip.
2018-08-16 23:38:41 +03:00
Andrei Ozerov
511c4fbabe
Vendor: update OpenStack floatingips
...
Fetch latest version of the Gophercloud Neutron floatingips package and
sort vendor.json.
2018-08-16 22:21:05 +03:00
Andrei Ozerov
29c20eae78
Docs: update OpenStack floating IPs notes
...
Introduce the new "floating_ip_network" parameter and add deprecation
warning for the "floating_ip_pool" parameter.
2018-08-16 22:18:48 +03:00
Andrei Ozerov
c9047cbfbe
OpenStack builder: update floating IP params
...
Rename "floating_network" to the "floating_ip_network".
Return old "floating_ip_pool" parameter for backward compatibility with
old configuration files. It's value will be passed to the
"floating_ip_network" parameter.
2018-08-16 22:18:48 +03:00
Andrei Ozerov
0eef9b4292
OpenStack builder: floating IP refactoring
...
Remove usage of the deprecated OpenStack Compute service floating IP
management and add methods to work with the OpenStack Networking
service floating IPs API.
Remove usage of the deprecated OpenStack Compute service floating IP
pools and add methods to work with the OpenStack Networking service
external networks API.
Move reusable logic of working with the OpenStack Networking service API
to a separate methods in the networking.go file.
Pass error messages from the API services to the ui messages in the
allocate IP step.
2018-08-16 22:15:26 +03:00
Andrei Ozerov
68afd3d8da
Vendor: add Gophercloud networking v2 external
...
Add package that allow to work with OpenStack networks with external
attribute via the Networking V2 service API.
2018-08-16 22:14:29 +03:00
Andrei Ozerov
f0f1967c9f
Vendor: add Gophercloud networking v2 networks
...
Add package that allow to work with OpenStack networks via the
Networking V2 service API.
2018-08-16 22:14:29 +03:00
Andrei Ozerov
71bf67620f
Vendor: add Gophercloud compute attachinterfaces
...
Add package that allows to retrieve and manage network interfaces of the
OpenStack intstance.
2018-08-16 22:14:29 +03:00
Andrei Ozerov
4d17dbd56b
Vendor: remove Gophercloud compute floatingips
...
Remove package to work with floating IPs via the OpenStack Compute API.
Floating IPs support were deprecated in the OpenStack Compute API and
users need to use OpenStack Networking API for that task.
2018-08-16 22:14:29 +03:00
Andrei Ozerov
a4d7b3a909
Vendor: add Gophercloud networking floatingips
...
Add the OpenStack Networking service's extension package to work with
the newest API for floating IPs.
2018-08-16 22:11:50 +03:00
Adrien Delorme
d7d4aed51c
be even more precise
2018-08-16 18:56:28 +02:00
Adrien Delorme
2b3ea29970
show more precise error download/copy/referencing messages
2018-08-16 18:41:44 +02:00
zhuzhih2017
2eafdb33a2
Merge pull request #6588 from xiaozhu36/master
...
Support describing and checking source image coming from marketplace
2018-08-16 20:58:52 +08:00
Rickard von Essen
c574dc98b9
Updated CHANGELOG.md
2018-08-16 12:49:27 +02:00
Rickard von Essen
71c515fda1
Merge pull request #6596 from rickard-von-essen/openstack-cinder-root-volume
...
OpenStack: Block Storage volumes support
2018-08-16 12:47:57 +02:00
Rickard von Essen
17b368cf8b
Fixed vendor.json checksum
2018-08-16 12:40:11 +02:00
Andrei Ozerov
3316d40527
OpenStack builder: make volume type optional
...
Volume type parameter should be optional as described in API reference:
https://developer.openstack.org/api-ref/block-storage/v3/#create-a-volume
It should be enforced by the OpenStack cluster if not specified.
2018-08-16 12:40:11 +02:00