From 8e6bad209bef18c41d6ed7abe009311a125f0684 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Thu, 6 Feb 2020 17:50:29 +0100 Subject: [PATCH] try to use isos inplace whatever the os --- common/step_download.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/step_download.go b/common/step_download.go index c15fc566d..465573af9 100644 --- a/common/step_download.go +++ b/common/step_download.go @@ -198,9 +198,7 @@ func (s *StepDownload) download(ctx context.Context, ui packer.Ui, source string ProgressListener: ui, Pwd: wd, Mode: getter.ModeFile, - } - if runtime.GOOS == "windows" { - req.Inplace = true + Inplace: true, } switch op, err := defaultGetterClient.Get(ctx, req); err.(type) {