try to use isos inplace whatever the os

This commit is contained in:
Adrien Delorme 2020-02-06 17:50:29 +01:00
parent a19214afeb
commit 8e6bad209b
1 changed files with 1 additions and 3 deletions

View File

@ -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) {