Commit Graph

16 Commits (7efe3cac3d5e728ee471bbccfd1043e06e4dcafe)

Author SHA1 Message Date
Megan Marsh b35acbd879 use statebag instead of SetSharedState for winRM password
8 years ago
Megan Marsh ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
8 years ago
Mathieu Tarral edcc0b3853 shell-local: expose PACKER_HTTP_ADDR env var
8 years ago
Megan Marsh 3afca6905b remove duplicate assignmnet
8 years ago
Megan Marsh 846f94c964 implement template variable for accessing WinRM password in either environemnt variables or directly in execute_command or inline commands.
8 years ago
Megan Marsh d1e31c0f23 use if/else to clarify code
8 years ago
Megan Marsh 969201a2d4 handle minor shell-local PR suggestions and corrections
8 years ago
Megan Marsh 1fdf763d0f fancier logging
8 years ago
Megan Marsh 1bea658e16 fix command and inline calls on windows
8 years ago
Megan Marsh fabd1a6517 windows cmd env vars
8 years ago
Megan Marsh 9651432378 preserver BC for people using 'command' option
8 years ago
Megan Marsh 51bcc7aa13 add new feature for telling shell-local whether to use linux pathing on windows; update docs with some examples.
8 years ago
Megan Marsh e983a94a88 fix default windows bash call for shell-local provisioner and move chmod command from the execute_command array into the portion of code where we actually generate inline scripts, sparing users the need to think about this modification which Packer should really handle on its own
8 years ago
Megan Marsh 479d36734d consolidate shell-local defaulting of InlineShebang and ExecuteCommand to the config validation
8 years ago
Megan Marsh 67739270bb pull temp file writing into its own function for easier testing
8 years ago
Megan Marsh 6dc4b1cbdc move all of the run commands for shell-local provisioner and postprocessor into common library too
8 years ago