From b445d69f041062e4695cb23d656fb8613fcf381c Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 15 Mar 2018 21:17:04 +0100 Subject: stage4: building with docu and tests up to help2man --- create_hdd.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'create_hdd.sh') diff --git a/create_hdd.sh b/create_hdd.sh index 38829da..8f65923 100755 --- a/create_hdd.sh +++ b/create_hdd.sh @@ -58,6 +58,8 @@ mount -t sysfs sys /sys mkdir /dev/shm mount -t tmpfs shm /dev/shm mount -o remount,rw / +ip link set up dev lo +ip addr add 127.0.0.1/8 dev lo ip link set up dev eth0 ip addr add ${STAGE1_MACHINE_IP}/24 dev eth0 ip route add default via 192.168.1.1 dev eth0 @@ -68,6 +70,11 @@ cat > etc/resolv.conf < etc/hosts <> etc/group <