소스 검색

Update /etc/hosts file for ipv6 support

Mark Shust 5 년 전
부모
커밋
04a276175d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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