diff --git a/pkg/hostman/hostinfo/hostovn.go b/pkg/hostman/hostinfo/hostovn.go index a3e2d5c843..34678f4664 100644 --- a/pkg/hostman/hostinfo/hostovn.go +++ b/pkg/hostman/hostinfo/hostovn.go @@ -107,7 +107,7 @@ func (oh *OvnHelper) mustPrepService() { } func MustGetOvnVersion() string { - output, err := procutils.NewCommand("ovn-controller", "--version").Output() + output, err := procutils.NewRemoteCommandAsFarAsPossible("ovn-controller", "--version").Output() if err != nil { return "" }