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 authored and liranr23 committed Jun 9, 2024
1 parent d7a388b commit 5492823
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 @@ -77,7 +77,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 @@ -228,7 +228,7 @@ func LinkDisks(diskKind string, num int) (err error) {
}

func executeVirtV2v(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.Stdout = os.Stdout
monitorCmd.Stderr = os.Stderr
Expand Down

0 comments on commit 5492823

Please sign in to comment.