Skip to content
Snippets Groups Projects
Commit 1cd91db1 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-394: Support WSL out of the box with proper defaults.

parent d4f33799
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,12 @@ ATTACH_COMPOSE_FILE_ARGS := $(foreach yml,$(filter-out tango.yml,$(COMPOSE_FILES ...@@ -14,7 +14,12 @@ ATTACH_COMPOSE_FILE_ARGS := $(foreach yml,$(filter-out tango.yml,$(COMPOSE_FILES
NETWORK_MODE ?= tangonet NETWORK_MODE ?= tangonet
# Host name through which others can reach our control interfaces # Host name through which others can reach our control interfaces
ifneq (,$(wildcard /run/WSL))
# Microsoft Windows Subsystem for Linux
HOSTNAME ?= host.docker.internal
else
HOSTNAME ?= $(shell hostname -f) HOSTNAME ?= $(shell hostname -f)
endif
# If the first make argument is "start" or "stop"... # If the first make argument is "start" or "stop"...
ifeq (start,$(firstword $(MAKECMDGOALS))) ifeq (start,$(firstword $(MAKECMDGOALS)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment