Skip to content

Commit db4881a

Browse files
committed
Fix virt-v2v-in-place path for upstream builds
Issue: The upstream virt-v2v-in-place warm migraiton path fails. Error: ``` Failed to execute virt-v2v command: fork/exec /usr/libexec/virt-v2v-in-place: no such file or directory ``` Fix: Lets not specify full path of the virt-v2v-in-place. Signed-off-by: Martin Necas <[email protected]>
1 parent 5d4e53e commit db4881a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/virt-v2v/entrypoint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func runVirtV2vInPlace() error {
100100
return err
101101
}
102102
args = append(args, "/mnt/v2v/input.xml")
103-
v2vCmd := exec.Command("/usr/libexec/virt-v2v-in-place", args...)
103+
v2vCmd := exec.Command("virt-v2v-in-place", args...)
104104
v2vCmd.Stdout = os.Stdout
105105
v2vCmd.Stderr = os.Stderr
106106
return v2vCmd.Run()

0 commit comments

Comments
 (0)