diff options
author | etenzy <hello@mroedel.de> | 2021-11-17 15:30:40 +0100 |
---|---|---|
committer | etenzy <hello@mroedel.de> | 2021-11-17 17:02:04 +0100 |
commit | 010bee04c3ae05c1e406dca2ad928e723a1aeda4 (patch) | |
tree | b18488e23c8a5e1971b8036eb8bb1888475d28fc /pkg/machine | |
parent | 85733e0b4a1d246debcc453f4248cbd9bb91a9d1 (diff) | |
download | podman-010bee04c3ae05c1e406dca2ad928e723a1aeda4.tar.gz podman-010bee04c3ae05c1e406dca2ad928e723a1aeda4.tar.bz2 podman-010bee04c3ae05c1e406dca2ad928e723a1aeda4.zip |
fix: take absolute path for dd on apple silicon
Fixes #12329
[NO NEW TESTS NEEDED] podman machine
Signed-off-by: Michael Rödel <hello@mroedel.de>
Diffstat (limited to 'pkg/machine')
-rw-r--r-- | pkg/machine/qemu/options_darwin_arm64.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/machine/qemu/options_darwin_arm64.go b/pkg/machine/qemu/options_darwin_arm64.go index 43cd3d69d..727a275d2 100644 --- a/pkg/machine/qemu/options_darwin_arm64.go +++ b/pkg/machine/qemu/options_darwin_arm64.go @@ -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() } |