From 3c2bec9395d58a77a6e0a0c86f1b364cea75f742 Mon Sep 17 00:00:00 2001 From: Masaru OKI Date: Mon, 1 Feb 2021 06:32:47 +0900 Subject: [PATCH] Reset initial configuration such as "mac". --- check_install.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/check_install.py b/check_install.py index ed0d8018afe7..2e6f5f817597 100755 --- a/check_install.py +++ b/check_install.py @@ -64,6 +64,10 @@ def main(): p.expect([cmd_prompt]) p.sendline('show ip bgp sum') p.expect([cmd_prompt]) + p.sendline('sudo rm /etc/sonic/config_db.json') + p.expect([cmd_prompt]) + p.sendline('cd /host/image-*/platform; sudo touch firsttime; cd -') + p.expect([cmd_prompt]) p.sendline('sync') p.expect([cmd_prompt])