Skip to content

Commit

Permalink
Merge pull request containers#11206 from baude/gvproxynewpath
Browse files Browse the repository at this point in the history
Set gvproxy path to /usr/libexec/podman/gvproxy
  • Loading branch information
openshift-ci[bot] authored Aug 12, 2021
2 parents de043a5 + 9fc9465 commit 94886d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkg/machine/qemu/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -605,10 +605,12 @@ 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 := filepath.Join("/usr/lib/podman/", machine.ForwarderBinaryName)
if _, err := os.Stat(binary); os.IsNotExist(err) {
return errors.Errorf("unable to find %s", binary)
// TODO we may wish to configure the directory in containers common
binary := filepath.Join("/usr/libexec/podman/", machine.ForwarderBinaryName)
if _, err := os.Stat(binary); err != nil {
return err
}

// Listen on all at port 7777 for setting up and tearing
// down forwarding
listenSocket := "tcp://0.0.0.0:7777"
Expand Down

0 comments on commit 94886d4

Please sign in to comment.