Commit Graph

601 Commits (710ebdcef5deaf9724db0e92a308ea6be151f8ca)

Author SHA1 Message Date
Sylvia Moss 76f13deaf4
Make template variables SSHPublicKey and SSHPrivateKey as strings (#8829)
6 years ago
Wilken Rivera e1a46ec293
Fix gosimple S1025 linting errors (#8838)
6 years ago
Lars Lehtonen f808d1d968
common/powershell: fix dropped error
6 years ago
Megan Marsh 9c9826ee4b
Merge pull request #8714 from williamb1024/hyperv-gen1-boot-order
6 years ago
Ben Brown 0936f8bc03 Fix Hyper-V compacted disk size comparison
6 years ago
Megan Marsh 66a1cdb8d2 regenerate boot command code
6 years ago
William Brooks 7f38ce0686 test and correct gen2 SetFirstBootDeviceGen2 scripts
6 years ago
William Brooks dd8f4370c6 initial support for gen2 and fix driver_mock
6 years ago
William Brooks 5e1e4ec701 fmt && generate
6 years ago
William Brooks d7300f4635 Remove legacy_boot and replace with first_boot_device (initial)
6 years ago
Megan Marsh dde74232f2
Clearly document all template-engine-enabled options (#8770)
6 years ago
William 807f39284d
Merge pull request #2 from hashicorp/master
6 years ago
Wilken Rivera 9ec8b67392
Add golangci-lint to project (#8686)
6 years ago
Megan Marsh 00dfb79c88
Merge pull request #7627 from hashicorp/inplace_isos
6 years ago
Adrien Delorme 08f394604c Update iso_config.go
6 years ago
Adrien Delorme cc3d941853 iso checksumming: use checksum or checksum url if set to handle all cases
6 years ago
William Brooks 31622b50ac applied fmt
6 years ago
William Brooks 55ae803852 Add Hyper-V support for Gen-1 boot order with ISO
6 years ago
Adrien Delorme 72c2731f7b Update step_download_test.go
6 years ago
Adrien Delorme 973a1ea103 remove comented code
6 years ago
Adrien Delorme f91429f256 fix goimports
6 years ago
Adrien Delorme d45eca5cdc update tests
6 years ago
Adrien Delorme a8e717ae09 ISOConfig.Prepare: fix ChecksumFromFile usage
6 years ago
Adrien Delorme 8e6bad209b try to use isos inplace whatever the os
6 years ago
Chris Cunningham e94ed9a683 update the note about Windows symlinks
6 years ago
Adrien Delorme a19214afeb Allow to use isos in place
6 years ago
Megan Marsh dde7302265
Merge pull request #8689 from hashicorp/fix_8530
6 years ago
Moss f2c8e8491c Fix format
6 years ago
Moss e020da49f3 Add iso file name when targetPath is absolute
6 years ago
Wilken Rivera 561f02cc2f
builder/azure-arm: Update logic for setting subscriptionID (#8685)
6 years ago
Sylvia Moss dc31bad539
Sharing info with post-processors via artifact (#8632)
6 years ago
Moss 0566f1f999 Extract http ip discover to a new step
6 years ago
Sylvia Moss 0b7251a4bb
Share .Device and .MountPath between builders, provisioners and post-processors (#8621)
6 years ago
Sylvia Moss 0677b02e18
Share SourceImageName with provisioners and manifest post-processor (#8603)
6 years ago
Megan Marsh 90bdcf58bd update step_download to return an ActionContinue if the URls field is empty. this allows us to simplify the hyperv builder, and is still safe because all other builders and uses of step_download already validate that the iso url is not empty if that's what they need, most of them inside of the IsoConfig prepare function.
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 0f6d1beccf add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables.
6 years ago
Megan Marsh 21a849354b fix hook data loading
6 years ago
Megan Marsh a125f81fba add some more comments
6 years ago
Megan Marsh 82367a88f8 reorganize placeholder data call to live with provisioner implementation; force users to use the generated function, therefore forcing validation, for all variables except winrmpassword, by doing a simple string check against the placeholder data.
6 years ago
Megan Marsh ac570e0cc0 store ssh public and private keys on shared info
6 years ago
Megan Marsh 88d4ce37c9 template functioin to let Provisioners access PACKER_RUN_UUID
6 years ago
Megan Marsh 84063d2132 implement ID and Type values in the provisioner template info sharing
6 years ago
Megan Marsh e1652696a6 Rather than using reflection to grab the whole SSH config, for now just use the config convenience functions to get the majority of needed values
6 years ago
Megan Marsh 3389d843f0 update all provisioners that used the winrmpassword tooling to use the new generateddata option
6 years ago
Megan Marsh 39fd462b56 change all provision func signatures to use map[string]interface{}
6 years ago
Megan Marsh 5d266b20d0 generated func now validates based on data provided in context, which needs to include the future values if it is to be interpolated properly.
6 years ago
Megan Marsh 528b853178 stub out generated func for validation
6 years ago
Megan Marsh 7616fbcf3f skip shell local for now
6 years ago