Skip to content
Snippets Groups Projects
Commit 9e46534b authored by Stewart Williams's avatar Stewart Williams
Browse files

Do not match inet6 addresses on MacOS

parent 5519f9e7
Branches
Tags
No related merge requests found
......@@ -55,7 +55,7 @@ else
endif
ifeq ($(UNAME_S),Darwin)
IF_INTERFACE := $(shell netstat -nr | awk '{ if ($$1 ~/default/) { print $$6} }')
DISPLAY := $(shell ifconfig $(IF_INTERFACE) | awk '{ if ($$1 ~/inet/) { print $$2} }'):0
DISPLAY := $(shell ifconfig $(IF_INTERFACE) | awk '{ if ($$1 ~/inet$$/) { print $$2} }'):0
# network_mode = host doesn't work on MacOS, so fix to the internal network
NETWORK_MODE ?= tangonet
XAUTHORITY_MOUNT := $(HOME)/.Xauthority:/hosthome/.Xauthority:ro
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment