mirror of
https://github.com/containers/podman.git
synced 2025-06-28 14:29:04 +08:00
Set gvproxy path to /usr/libexec/podman/gvproxy
We have reverted the previous patches to look for the gvproxy binary in /usr/lib/podman and have again decided to use /usr/libexec/podman [NO TESTS NEEDED] Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
@ -605,10 +605,12 @@ func CheckActiveVM() (bool, string, error) {
|
|||||||
// startHostNetworking runs a binary on the host system that allows users
|
// startHostNetworking runs a binary on the host system that allows users
|
||||||
// to setup port forwarding to the podman virtual machine
|
// to setup port forwarding to the podman virtual machine
|
||||||
func (v *MachineVM) startHostNetworking() error {
|
func (v *MachineVM) startHostNetworking() error {
|
||||||
binary, err := exec.LookPath(machine.ForwarderBinaryName)
|
// TODO we may wish to configure the directory in containers common
|
||||||
if err != nil {
|
binary := filepath.Join("/usr/libexec/podman/", machine.ForwarderBinaryName)
|
||||||
|
if _, err := os.Stat(binary); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Listen on all at port 7777 for setting up and tearing
|
// Listen on all at port 7777 for setting up and tearing
|
||||||
// down forwarding
|
// down forwarding
|
||||||
listenSocket := "tcp://0.0.0.0:7777"
|
listenSocket := "tcp://0.0.0.0:7777"
|
||||||
|
Reference in New Issue
Block a user