Skip to content

Commit

Permalink
Merge pull request #12330 from etenzy/main
Browse files Browse the repository at this point in the history
fix: take absolute path for dd on apple silicon
  • Loading branch information
openshift-merge-robot authored Nov 18, 2021
2 parents 878d22e + 010bee0 commit 69e1204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/machine/qemu/options_darwin_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (v *MachineVM) addArchOptions() []string {

func (v *MachineVM) prepare() error {
ovmfDir := getOvmfDir(v.ImagePath, v.Name)
cmd := []string{"dd", "if=/dev/zero", "conv=sync", "bs=1m", "count=64", "of=" + ovmfDir}
cmd := []string{"/bin/dd", "if=/dev/zero", "conv=sync", "bs=1m", "count=64", "of=" + ovmfDir}
return exec.Command(cmd[0], cmd[1:]...).Run()
}

Expand Down

0 comments on commit 69e1204

Please sign in to comment.