init-ifupdown: setup network on loopback device

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
This commit is contained in:
Babak Sarashki 2020-08-19 08:04:25 -07:00
parent 1baecd7f5c
commit 458e62aa80

@ -1,4 +1,8 @@
do_install_append() {
rm -f ${D}/etc/network/interfaces
touch ${D}/etc/network/interfaces
cat > ${D}/etc/network/interfaces << EOF
auto lo
iface lo inet loopback
EOF
}