Megan Marsh
|
a94e147865
|
fix go fmt
|
2020-05-29 09:40:31 -07:00 |
Megan Marsh
|
21e9bef202
|
update fixer interface to return a list of deprecated options, if any
|
2020-05-29 09:40:31 -07:00 |
Megan Marsh
|
b28059c0a5
|
add generator to create a list of all the deprecated options that the fixers fix
fix location of deprecated_options code
|
2020-05-29 09:40:31 -07:00 |
Megan Marsh
|
15b14d4879
|
add deprecation check to config helper
|
2020-05-29 09:40:31 -07:00 |
Wilken Rivera
|
37df64873f
|
Merge pull request #9320 from hashicorp/fix_checksum_fixer
actually run the fixer
|
2020-05-29 11:38:00 -04:00 |
Paul Meyer
|
2288ab3b53
|
fix typo
|
2020-05-29 04:15:53 +00:00 |
Paul Meyer
|
93d4d63121
|
Update CHANGELOG.md
|
2020-05-28 21:15:17 -07:00 |
Paul Meyer
|
185d98045b
|
Merge pull request #9293 from feiyushi/identity
Support User Assigned Managed Identity in Azure
|
2020-05-28 21:13:41 -07:00 |
Feiyu Shi
|
1c1991c073
|
fix a bug
|
2020-05-28 19:17:22 -07:00 |
Feiyu Shi
|
f86f5b958a
|
Merge remote-tracking branch 'origin/master' into identity
|
2020-05-28 19:03:44 -07:00 |
Megan Marsh
|
03b2c4355e
|
include Wilken's suggestion
|
2020-05-28 16:46:33 -07:00 |
Megan Marsh
|
ddf223b56b
|
fix fixer
|
2020-05-28 16:41:00 -07:00 |
Paul Meyer
|
53e5137411
|
[bug] Fix test error message
|
2020-05-28 23:38:17 +00:00 |
Paul Meyer
|
83851bc9aa
|
[bug] fix diskset type in Artifact creation
|
2020-05-28 23:38:17 +00:00 |
Paul Meyer
|
aa8250bcc8
|
give temp data disks lun suffix
|
2020-05-28 23:38:17 +00:00 |
Paul Meyer
|
4c96847683
|
log data disks in images
|
2020-05-28 23:38:17 +00:00 |
Paul Meyer
|
f0cd60b5fa
|
[bug] provide data disk prefix to disk creation
|
2020-05-28 23:38:17 +00:00 |
Paul Meyer
|
af96cf7881
|
Generated files
|
2020-05-28 23:38:14 +00:00 |
Paul Meyer
|
ac3d19ee23
|
Use separate caching/sku for data disks
|
2020-05-28 23:37:44 +00:00 |
Paul Meyer
|
f601f54d0b
|
Use all disks in managed image
|
2020-05-28 23:37:43 +00:00 |
Paul Meyer
|
de4839b66e
|
Use all snapshots when creating a shared image
|
2020-05-28 23:37:43 +00:00 |
Paul Meyer
|
c6b995a34d
|
create snapshots for all disks in a diskset
|
2020-05-28 23:37:43 +00:00 |
Paul Meyer
|
0ee77f8b0e
|
Add datadisks to disk set when using SIG as source
|
2020-05-28 23:37:43 +00:00 |
Paul Meyer
|
12f746b2b5
|
Move to using a diskset
Need to store lun numbers for data disks as well
|
2020-05-28 23:37:43 +00:00 |
Paul Meyer
|
3a3e6e525b
|
Shift names to diskset
Instead of one disk, we'll be working with a set of disks.
|
2020-05-28 23:37:43 +00:00 |
Paul Meyer
|
c9284d03aa
|
Add config for data disk/snapshot naming
|
2020-05-28 23:37:38 +00:00 |
Ali Rizvi-Santiago
|
229b5d17ff
|
Re-worked the vmware builder drivers so that they're able to check multiple ip addresses when trying to connect via the CommHost.
|
2020-05-28 15:36:45 -05:00 |
Megan Marsh
|
1edc931e7f
|
actually run the fixer
|
2020-05-28 13:14:45 -07:00 |
Megan Marsh
|
193395d734
|
Merge pull request #9318 from hashicorp/fix_build_prepare_failure_handling
move this to after the prepare() is successful so that we don't try t…
|
2020-05-28 12:29:46 -07:00 |
Ali Rizvi-Santiago
|
0609909f1a
|
Fixed some lint issues.
|
2020-05-28 13:53:49 -05:00 |
Megan Marsh
|
45be673c0f
|
move this to after the prepare() is successful so that we don't try to run builds that didn't prepare successfully.
|
2020-05-28 11:34:00 -07:00 |
Ali Rizvi-Santiago
|
ad7194c920
|
Rewrote the GuestIP implementation in the vmware builder to use the new dhcpd lease parsers instead of the old regexp-based logic.
|
2020-05-28 13:22:58 -05:00 |
Ali Rizvi-Santiago
|
020b005522
|
Finished implementing the final dhcpd lease entries parser for the vmware builders and also included its own unit tests.
|
2020-05-28 13:22:58 -05:00 |
Ali Rizvi-Santiago
|
cf5332fa20
|
Updated the dhcpd lease entry parser in the vmware builder to return errors if any are encountered.
|
2020-05-28 13:22:58 -05:00 |
Ali Rizvi-Santiago
|
afa4696985
|
Tightened the regular expressions used by the vmware builder to parse the dhcpd leases, and added support for parsing the weekdays.
|
2020-05-28 13:22:58 -05:00 |
Ali Rizvi-Santiago
|
e2a7c317eb
|
Implemented the dhcpd lease entry decoder and the address decoder for the vmware builder.
|
2020-05-28 13:22:57 -05:00 |
Ali Rizvi-Santiago
|
efb775accb
|
Added a number of parsing combinators to the vmware builder and some minor tests for them to help with parsing dhcpd leases.
|
2020-05-28 13:22:57 -05:00 |
Ali Rizvi-Santiago
|
f17007d546
|
Removed the sentinelSignaller chan from the vmware builder parsers and its unit-tests, and also commented all of the goroutines that are used.
|
2020-05-28 13:22:56 -05:00 |
Ali Rizvi-Santiago
|
159ea595df
|
More lint issues fixed...
|
2020-05-28 13:12:42 -05:00 |
Ali Rizvi-Santiago
|
32b64e0576
|
Fixed some lint issues in the unit tests for the vmware builder driver parsers.
|
2020-05-28 13:07:54 -05:00 |
Baptiste Lafontaine
|
553d2a7d0b
|
The prefix for local is "local." (and not ".local") (#9317)
|
2020-05-28 17:21:49 +02:00 |
Adrien Delorme
|
324367b808
|
Update variable.mdx
|
2020-05-28 17:09:57 +02:00 |
Adrien Delorme
|
059a782b0e
|
remove debug log
|
2020-05-28 17:07:11 +02:00 |
Adrien Delorme
|
95d37ffc06
|
add headers
|
2020-05-28 17:04:34 +02:00 |
Adrien Delorme
|
12c168b2d1
|
better docs
|
2020-05-28 16:49:54 +02:00 |
Adrien Delorme
|
8a13dd3073
|
HCL2: Make the `build`.`sources` argument list optional
|
2020-05-28 16:38:41 +02:00 |
Adrien Delorme
|
beceb90844
|
better docs
|
2020-05-28 16:22:07 +02:00 |
Adrien Delorme
|
11104af3a2
|
website/pages/docs/from-1.5/blocks/build/index.mdx: better docs arround source(s)
|
2020-05-28 16:16:59 +02:00 |
Megan Marsh
|
3ad2f86cc2
|
fix network card fixer (#9311)
|
2020-05-28 11:30:21 +02: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 |