jhawk28
ae5156a70d
add ability to define multiple disk controllers ( #9519 )
2020-07-10 12:25:46 +02:00
Sylvia Moss
9c1409dbba
Add content_library_destination to import VM template to a Content Library ( #9551 )
2020-07-10 11:01:10 +02:00
Megan Marsh
61b79b6e53
Merge pull request #9542 from jhawk28/bug_9511
...
clean up folder path so that it is what vsphere expects
2020-07-09 16:08:18 -07:00
Megan Marsh
b7f1aedf96
Merge pull request #9556 from hashicorp/fix_9107
...
Match network to host when multiple networks are found
2020-07-09 14:52:32 -07:00
Joshua Foster
765d96e8eb
unset HardwareConfig.Firmware since CreateConfig.Firmware configures the firmware in StepCreateVM
2020-07-09 10:34:48 -04:00
Moss
b74e28a479
match network to host when multiple networks are found
2020-07-09 15:59:15 +02:00
Sylvia Moss
268e95364f
Adds vApp properties config and save public ssh key to a vApp property ( #9507 )
2020-07-08 10:33:45 +02:00
Megan Marsh
673858a63c
Merge pull request #9513 from hashicorp/undocument_ssh_temp_key
...
Undocument ssh options not used by all builders
2020-07-07 14:26:21 -07:00
Wilken Rivera
892413b7ea
docs/builder/vsphere-iso: Add documentation for BootConfig ( #9538 )
...
* docs/builder/vsphere-iso: Add documentation for BootConfig
* Add documenation for http_ip
* Remove duplicate build configuration section
2020-07-07 13:57:51 -04:00
Joshua Foster
a6170b0c35
clean up folder path so that it is what vsphere expects
2020-07-07 12:25:14 -04:00
Joshua Foster
500ec5ccc7
fix return
2020-07-02 12:55:10 -04:00
Joshua Foster
e4dffeed35
clean up if logic
2020-07-02 12:33:28 -04:00
Moss
8ea64c5b35
undocument ssh_keypair_name and ssh_agent_auth
2020-07-02 14:55:58 +02:00
Joshua Foster
63f9282f5c
fix vshere ToolsSyncTime and ToolsUpgradePolicy
2020-07-01 13:58:50 -04:00
Moss
41edd09d3c
undocument temporary_key_pair_name and ssh_private_key_file
2020-07-01 16:33:18 +02:00
Megan Marsh
f8e21db9bc
Merge pull request #9450 from jhawk28/vsphere_multi_ip_wait
...
(vsphere) look at all IPs when waiting for the IP
2020-06-24 10:43:11 -07:00
Ivo van Geel
e54ad3f1fb
Add boot_command support to vsphere-clone builder, including support … ( #9397 )
2020-06-24 11:14:30 +02:00
Megan Marsh
4f77bb0c4a
add new ssh_ciphers option
2020-06-17 16:48:23 -07:00
Joshua Foster
50b6c86b1c
look at all the IPs of the VM when waiting for an IP
2020-06-17 17:40:21 -04:00
Joshua Foster
dd40c68ff8
fix default IP address in test to all ipv4 addresses
2020-06-17 16:00:38 -04:00
Joshua Foster
fb159e7060
add test cases for Network
2020-06-17 11:40:39 -04:00
Joshua Foster
7fc2ea8422
add a fallback to an ipv4 address if the the range can't find one
2020-06-17 01:46:30 -04:00
Joshua Foster
aaf9103330
use the ip_wait_address range to determine the default for the http server IP
2020-06-17 01:36:55 -04:00
Megan Marsh
4178625afb
re-add winrm_no_proxy option. Winrm code needs to be modified in order to read no_proxy env var when client is created rather than when net/http library is instantiated.
2020-06-16 10:27:30 -07:00
Moss
c1c350a657
remove comments
2020-06-12 14:51:52 +02:00
Moss
45058847c0
return BootConfig prepare err
2020-06-12 14:51:52 +02:00
Moss
653eb95bdb
adds tests to usb_driver and step_http_ip_discover
2020-06-12 14:51:52 +02:00
Moss
65cfb880fd
Fix boot_command and update docs
2020-06-12 14:51:52 +02:00
Moss
ba767d1663
remove duplicated press
2020-06-12 14:51:52 +02:00
Moss
585a86fe03
Add usb_driver to common boot_command and use it on vsphere
2020-06-12 14:51:52 +02:00
Conlan
4afcc794be
Fix typo in VSphere Docs ( #9405 )
...
* Fix typo in VSphere Docs
* Update ConfigParamsConfig-not-required.mdx
Co-authored-by: Adrien Delorme <adrien.delorme@icloud.com>
2020-06-12 11:18:51 +02:00
Joshua Foster
e59fab952d
create the folders if they don't exist
2020-06-11 10:37:24 -04:00
Joshua Foster
f5a795a22e
use path.Join to make a cleaner path
2020-06-10 09:12:21 -04:00
Joshua Foster
c7a6315ca4
use datacenter inventory path for find folder
2020-06-10 08:24:23 -04:00
Megan Marsh
48b448dfd5
Merge pull request #9366 from hashicorp/fix_9248
...
Add ToolSyncTime and ToolUpgradePolicy to vSphere
2020-06-05 13:03:58 -07:00
Megan Marsh
7fcd702b45
Merge pull request #9358 from jhawk28/bug_9349
...
(vsphere-iso) add the ability to check if the IP is within the an IP range
2020-06-05 12:18:51 -07:00
Moss
112638da01
Add ToolSyncTime and ToolUpgradePolicy to vSphere
2020-06-05 17:20:44 +02:00
Sylvia Moss
1422085ede
Validate host and network when looking for network ( #9361 )
2020-06-05 11:01:58 +02:00
Joshua Foster
d87e53b841
return false instead of continue to match logic from govmomi
2020-06-05 00:09:57 -04:00
Joshua Foster
3a6d42e0df
ip check should continue if the ip is NOT in the range
2020-06-04 23:17:02 -04:00
Joshua Foster
90463e5394
make default for wait address to be any ipv4 address. add some better documentation
2020-06-04 23:13:46 -04:00
Joshua Foster
27a1ceef6d
add example for any ipv4 address
2020-06-04 12:15:53 -04:00
Joshua Foster
1fb22a7b7b
add the ability to check if the IP is within the an IP range
2020-06-04 01:55:25 -04:00
Joshua Foster
d35f342319
add the ability to configure the http bind address. defaults to 0.0.0.0.
2020-06-03 16:40:18 -07:00
Sylvia Moss
434c9bcae0
Check if task result is nil and return error ( #9354 )
2020-06-03 17:37:30 +02:00
Joshua Foster
30bff17799
use the Datacenter's VmFolder instead of hand generating it
2020-06-01 19:53:54 -04:00
RedTail72
374f82b978
buidler/vsphere-iso: ISOUrl Fix ( #9321 )
...
* ISOUrl Fix
Added the check for ISOUrls back in addition to a check for RawSingleISOUrl. This should allow both ISOUrls[] or ISOUrl to work while not requiring them all the time.
* Update config.go
Fixed formatting.
2020-06-01 15:27:26 -04:00
Megan Marsh
5efb1a195e
update docs for configuration_paramaters to explain what it actually is.
2020-05-29 15:07:34 -07:00
Adrien Delorme
40947c2bf6
HCL2: generate hcl tags with go-cty tags too ( #9306 )
...
This will allow to generate the config files:
```go
package main
import (
"fmt"
"github.com/hashicorp/hcl/v2/gohcl"
"github.com/hashicorp/hcl/v2/hclwrite"
"github.com/hashicorp/packer/builder/alicloud/ecs"
)
func main() {
name := "name"
app := ecs.FlatConfig{
AlicloudImageName: &name,
ECSSystemDiskMapping: &ecs.FlatAlicloudDiskDevice{
DiskName: &name,
},
}
f := hclwrite.NewEmptyFile()
block := gohcl.EncodeAsBlock(&app, `source "something" "something"`)
f.Body().AppendBlock(block)
fmt.Printf("%s", f.Bytes())
}
```
Will output:
```
source "something" "something" {
packer_user_variables = null
packer_sensitive_variables = null
image_name = "name"
image_share_account = null
image_unshare_account = null
image_copy_regions = null
image_copy_names = null
tags = null
tag = null
system_disk_mapping = { disk_category = null, disk_delete_with_instance = null, disk_descri
ption = null, disk_device = null, disk_encrypted = null, disk_name = "name", disk_size = null, disk_
snapshot_id = null }
image_disk_mappings = null
ssh_remote_tunnels = null
ssh_local_tunnels = null
ssh_public_key = null
ssh_private_key = null
}
```
This is a good first step for #9015 and #9282
fix #9304
2020-05-28 11:19:00 +02:00
Adrien Delorme
0fa60c68fb
Drop the iso_checksum_type & iso_checksum_url fields ( #8437 )
...
* Drop the iso_checksum_type & iso_checksum_url fields
In favor of simply using iso_checksum that will know what to do.
* fix after master merge
* Update builder_test.go
* Update builder_test.go
* Update builder_test.go
* Update builder_test.go
* Update builder_test.go
* remove checksum lowercasing tests
* Update builder_test.go
* Update builder_test.go
* better docs
* Update builder_test.go
* even better docs
* Update config.go
* Update builder_test.go
* Update step_create_vmx_test.go
* make generate
* better docs
* fix imports
* up tests
* Update _ISOConfig-required.html.md
* Update builder_test.go
* don't use sha1.Sum("none") as a caching path
* Update builder_test.go
* better docs
* Update iso_config_test.go
remove ISOChecksumType/ISOChecksumURL references
* Update step_download_test.go
* add iso_checksum_url and iso_checksum_type fixers + tests
* add concrete examples of checksum values
* add examples of checksumming from local file
* update go-getter dep
* up deps
* use new go-getter version
* up ESX5Driver.VerifyChecksum: use go-getter's checksumming
* ISOConfig.Prepare: get checksum there in case we need it as a string in ESX5Driver.VerifyChecksum
* Update iso_config.go
* get go-getter from v2 branch
* Update driver_esx5.go
add more comments
* Update driver_esx5.go
* show better error message when the checksum is invalid
* Update builder_test.go
put in a valid checksum to fix tests, checksum is md5("packer")
* Update builder_test.go
test invalid and valid checksum
* more test updating
* fix default md5 string to be a valid md5
* TestChecksumFileNameMixedCaseBug: use 'file:' prefix for file checksumming
* Update iso_config_test.go
* Update iso_config_test.go
* Update builder_test.go
* Update builder_test.go
* Update builder_test.go
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update go.mod
* Update go.mod
* Update CHANGELOG.md
2020-05-28 11:02:09 +02:00