X-Original-To: alpine-devel@lists.alpinelinux.org Received: from hydrogenium.shiz.me (hydrogenium.shiz.me [62.210.12.63]) by lists.alpinelinux.org (Postfix) with ESMTP id 0ACBA5C4A9E for ; Thu, 17 Nov 2016 01:53:08 +0000 (GMT) Received: from localhost (::ffff:80.112.172.223 [IPv6:::ffff:80.112.172.223]) by hydrogenium.shiz.me (OpenSMTPD) with ESMTPSA id a36e40b8 TLS protoversion=TLSv1.2 ciphersuite=ECDHE-RSA-AES256-GCM-SHA384 verify=NO for ; Thu, 17 Nov 2016 01:52:47 +0000 (UTC) From: Shiz To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH 3/3] init: setup loopback interface Date: Thu, 17 Nov 2016 02:52:52 +0100 Message-Id: <20161117015252.27549-3-hi@shiz.me> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20161117015252.27549-1-hi@shiz.me> References: <20161117015252.27549-1-hi@shiz.me> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: This fixes various issues in later boot procedures if relying on localhost to work properly and if no further networking configuration is done. --- initramfs-init.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/initramfs-init.in b/initramfs-init.in index 9aa1d3f..b8ce2f1 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -313,6 +313,9 @@ if [ "$KOPT_dma" = no ]; then modprobe libata dma=0 fi +# setup loopback interface +ip_set lo 127.0.0.1 255.0.0.0 + # The following values are supported: # alpine_repo=auto -- default, search for .boot_repository # alpine_repo=http://... -- network repository -- 2.10.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---