From 2013a74b0d3c1733c761254a03108e0606f7e396 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 29 Apr 2021 12:23:59 -0500 Subject: Add ipv6 localhost in Chapter 7 hosts file --- chapter07/createfiles.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chapter07') diff --git a/chapter07/createfiles.xml b/chapter07/createfiles.xml index 0cacb76cb..8aec64958 100644 --- a/chapter07/createfiles.xml +++ b/chapter07/createfiles.xml @@ -47,7 +47,10 @@ referenced in some test suites, and in one of Perl's configuration files as well: -echo "127.0.0.1 localhost $(hostname)" > /etc/hosts +cat > /etc/hosts << EOF +"127.0.0.1 localhost $(hostname)" +::1 localhost +EOF In order for user root to be able to login and for the name root to be recognized, there -- cgit v1.2.3-54-g00ecf