From afe991e2de2419b9e18c402d31fc35b9eaae1621 Mon Sep 17 00:00:00 2001 From: Taoyu Li Date: Tue, 19 Jun 2018 23:30:38 +0000 Subject: [PATCH] [interface-config] Force eth0 before reconfiguration --- files/image_config/interfaces/interfaces-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/image_config/interfaces/interfaces-config.sh b/files/image_config/interfaces/interfaces-config.sh index 75660e713e7f..a702917419ca 100755 --- a/files/image_config/interfaces/interfaces-config.sh +++ b/files/image_config/interfaces/interfaces-config.sh @@ -1,6 +1,6 @@ #!/bin/bash -ifdown eth0 +ifdown --force eth0 sonic-cfggen -d -t /usr/share/sonic/templates/interfaces.j2 > /etc/network/interfaces