From 3fb7ddf5095aff02cdf47220e17622de3ef1cb51 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Tue, 7 Jul 2020 11:52:08 +0200 Subject: [PATCH] Update provisioner.go --- packer/provisioner.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packer/provisioner.go b/packer/provisioner.go index af1772e83..834f7433f 100644 --- a/packer/provisioner.go +++ b/packer/provisioner.go @@ -46,6 +46,13 @@ type ProvisionHook struct { // return var BuilderDataCommonKeys = []string{ "ID", + // The following correspond to communicator-agnostic functions that are } + // part of the SSH and WinRM communicator implementations. These functions + // are not part of the communicator interface, but are stored on the + // Communicator Config and return the appropriate values rather than + // depending on the actual communicator config values. E.g "Password" + // reprosents either WinRMPassword or SSHPassword, which makes this more + // useful if a template contains multiple builds. "Host", "Port", "User",