Mail archive
alpine-devel

[alpine-devel] [PATCH 3/3] init: setup loopback interface

From: Shiz <hi_at_shiz.me>
Date: Thu, 17 Nov 2016 02:52:52 +0100

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
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Thu Nov 17 2016 - 02:52:52 GMT