Skip to content

Commit

Permalink
v2v: hard-code command
Browse files Browse the repository at this point in the history
Signed-off-by: Arik Hadas <[email protected]>
  • Loading branch information
ahadas committed Jun 9, 2024
1 parent 7d024f0 commit 4ef1683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions virt-v2v/cold/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func main() {
}

func buildCommand() []string {
virtV2vArgs := []string{"virt-v2v", "-v", "-x"}
virtV2vArgs := []string{"-v", "-x"}
source := os.Getenv("V2V_source")

if !isValidSource(source) {
Expand Down Expand Up @@ -225,7 +225,7 @@ func LinkDisks(diskKind string, num int) (err error) {
}

func executeVirtV2v(source string, args []string) error {
v2vCmd := exec.Command(args[0], args[1:]...)
v2vCmd := exec.Command("virt-v2v", args...)
monitorCmd := exec.Command("/usr/local/bin/virt-v2v-monitor")
monitorCmd.Stderr = os.Stderr

Expand Down

0 comments on commit 4ef1683

Please sign in to comment.