From 9ed4c55c830c167d3c548bd58772e4b8f96e723f Mon Sep 17 00:00:00 2001 From: Erik Wilson Date: Tue, 2 Apr 2019 17:32:16 -0700 Subject: [PATCH] Update README for hostname req Add information on /etc/hosts hostname requirement. For rancher/k3s/issues/138 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 85bb8956a6..4d76578639 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,13 @@ flag At this point, you can run the agent as a separate process or not run it on this node at all. +If you encounter an error like `"stream server error: listen tcp: lookup some-host on X.X.X.X:53: no such host"` +when starting k3s please ensure `/etc/hosts` contains your current hostname (output of `hostname`), +set to a 127.x.x.x address. For example: +``` +127.0.1.1 myhost +``` + Joining nodes -------------