From 83c51e4803fcba1fed2cc6f77ade289febe38a2e Mon Sep 17 00:00:00 2001 From: Guohan Lu Date: Sat, 30 Jan 2021 06:50:35 -0800 Subject: [PATCH] [kvm]: install net-tools package for debug Signed-off-by: Guohan Lu --- check_install.py | 2 ++ scripts/build_kvm_image.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/check_install.py b/check_install.py index 08759db127..ed0d8018af 100755 --- a/check_install.py +++ b/check_install.py @@ -58,6 +58,8 @@ def main(): # check version time.sleep(5) + p.sendline('uptime') + p.expect([cmd_prompt]) p.sendline('show version') p.expect([cmd_prompt]) p.sendline('show ip bgp sum') diff --git a/scripts/build_kvm_image.sh b/scripts/build_kvm_image.sh index 4531ca25a5..d56b53f321 100755 --- a/scripts/build_kvm_image.sh +++ b/scripts/build_kvm_image.sh @@ -48,6 +48,7 @@ prepare_installer_disk() umount $tmpdir } +apt-get install -y net-tools create_disk prepare_installer_disk