Skip to content

Commit

Permalink
Merge pull request containers#11096 from baude/gvproxystaticpath
Browse files Browse the repository at this point in the history
Use static path for gvproxy
  • Loading branch information
openshift-ci[bot] authored Aug 4, 2021
2 parents 6ff1964 + 4acc1d6 commit 77f8c65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/machine/qemu/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -603,9 +603,9 @@ func CheckActiveVM() (bool, string, error) {
// startHostNetworking runs a binary on the host system that allows users
// to setup port forwarding to the podman virtual machine
func (v *MachineVM) startHostNetworking() error {
binary, err := exec.LookPath(machine.ForwarderBinaryName)
if err != nil {
return err
binary := filepath.Join("/usr/lib/podman/", machine.ForwarderBinaryName)
if _, err := os.Stat(binary); os.IsNotExist(err) {
return errors.Errorf("unable to find %s", binary)
}
// Listen on all at port 7777 for setting up and tearing
// down forwarding
Expand Down

0 comments on commit 77f8c65

Please sign in to comment.