Explorar o código

Update /etc/hosts file for ipv6 support

Mark Shust %!s(int64=5) %!d(string=hai) anos
pai
achega
04a276175d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/onelinesetup

+ 1 - 1
lib/onelinesetup

@@ -6,6 +6,6 @@ curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/te
 bin/download $VERSION
 
 echo "Your system password has been requested to add an entry to /etc/hosts..."
-echo "127.0.0.1 $DOMAIN" | sudo tee -a /etc/hosts
+echo "127.0.0.1 ::1 $DOMAIN" | sudo tee -a /etc/hosts
 
 bin/setup $DOMAIN