diff --git a/multistep/commonsteps/step_download.go b/multistep/commonsteps/step_download.go index f1196855d..ae802a9cd 100644 --- a/multistep/commonsteps/step_download.go +++ b/multistep/commonsteps/step_download.go @@ -96,6 +96,8 @@ func (s *StepDownload) Run(ctx context.Context, state multistep.StateBag) multis } if err == nil { state.Put(s.ResultKey, dst) + // Track the URL you actually used for the download. + state.Put("SourceImageURL", source) return multistep.ActionContinue } // may be another url will work