From 9e8df96ca76acb1b56e87782b51135ddd0e18ce1 Mon Sep 17 00:00:00 2001 From: Taoyu Li Date: Fri, 24 Mar 2017 18:12:44 -0700 Subject: [PATCH] [interface-config] Fix a loopback addr config bug (#437) Fix a bug introduced in PR 430 that addresses on lo are not configured correctly. --- files/image_config/interfaces/interfaces-config.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/image_config/interfaces/interfaces-config.sh b/files/image_config/interfaces/interfaces-config.sh index e260601976..3e2f852c12 100755 --- a/files/image_config/interfaces/interfaces-config.sh +++ b/files/image_config/interfaces/interfaces-config.sh @@ -2,3 +2,4 @@ sonic-cfggen -m /etc/sonic/minigraph.xml -t /usr/share/sonic/templates/interfaces.j2 >/etc/network/interfaces service networking restart +ifdown lo && ifup lo