5 # initramfs-tools header
21 # live-initramfs header
23 if [ -n "${NOHOSTS}" ]
28 . /scripts/live-functions
30 log_begin_msg "Setting hostname..."
32 # live-initramfs script
34 echo "$HOSTNAME" > /root/etc/hostname
36 cat >> /root/etc/hosts << EOF
40 # The following lines are desirable for IPv6 capable hosts
41 ::1 ip6-localhost ip6-loopback
43 ff00::0 ip6-mcastprefix
45 ff02::2 ip6-allrouters