diff --git a/builder/qemu/step_resize_disk.go b/builder/qemu/step_resize_disk.go index 8ffab5931..f4f44ec34 100644 --- a/builder/qemu/step_resize_disk.go +++ b/builder/qemu/step_resize_disk.go @@ -21,6 +21,7 @@ func (s *stepResizeDisk) Run(_ context.Context, state multistep.StateBag) multis command := []string{ "resize", + "-f", config.Format, path, fmt.Sprintf("%vM", config.DiskSize), }