Commit Graph

578 Commits (9891e75f75696d514baff262e8aacd9eb25a8051)

Author SHA1 Message Date
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
Chris Cunningham e94ed9a683 update the note about Windows symlinks
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
Megan Marsh 6f418d0e54 get data sharing to a working state with the powershell provisioner
6 years ago
Megan Marsh f4c3501af5 pass struct of generated data into provision() call
6 years ago
Sylvia Moss 096cab9b48 Fix floppy doc markdown typo (#8458)
6 years ago
Megan Marsh 76bfaf9da8
Merge pull request #8394 from hashicorp/fix_iso_target_path
6 years ago
Megan Marsh a8ffa60b46 remove the already-included packer config from top level struct
6 years ago
Megan Marsh 7d4353864f use shell struct in shell-local provisioner and post-processor.
6 years ago
Megan Marsh cf0130b9ed pick up dropped error
6 years ago
Megan Marsh 9fc8ed02ae Don't cache when TargetPath is non-nil; this messes up use of the iso_target_path iso template option.
6 years ago
Megan Marsh ae184fe31d ask for VM by name to reduce looping.
6 years ago
nywilken 3522e13b1e provisioner/shell: Add `env_var_format` support to shell provisioner
6 years ago
Adrien Delorme c0db000dc3
Merge pull request #8310 from alrs/resuscitate-common-floppy-tests
6 years ago
Lars Lehtonen 5926997a31
common: remove unused test function getDirectory()
6 years ago
Lars Lehtonen 9a90aa67e6
common: resuscitate TestStepCreateFloppy_missing()
6 years ago
Lars Lehtonen 8e2885e626
common: resuscitate TestStepCreateFloppy_notfound()
6 years ago
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
6 years ago
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
6 years ago
Megan Marsh a783a09ea3
Merge pull request #8269 from paulmey/paulmey/generalize-chroot
6 years ago
Paul Meyer 3be7d81ce2 Move common steps together
6 years ago
Paul Meyer e6dfe301ac Move CommandWrapper & ShellCommand to common
6 years ago
Lars Lehtonen 731e0332cf common: collect dropped error
6 years ago
Megan Marsh d15f43e4eb
Merge pull request #8232 from hashicorp/artifact-tree
6 years ago
Megan Marsh e5becfc854
Merge pull request #8248 from marcinbojko/master
6 years ago
Marcin Bojko 1b4ffe546f
hyper-v fix for compacting vhdx/vhd only
6 years ago