1 --- lib/functions.network 2020-02-08 10:48:07.000000000 +0100
2 +++ lib/functions.network.loopback 2020-03-13 11:19:35.602818930 +0100
4 # Add ONLY IPv4 address (IPv6 address is added automaticly)
7 - if is_yes "$IPV4_NETWORKING"; then
8 + # test if addr is assigned already as lxd(lxc?) initializes loopback upfront
9 + if is_yes "$IPV4_NETWORKING" && ! ip addr show lo | grep -q "127\.0\.0\.1"; then
10 ip addr add 127.0.0.1/8 dev lo