[kvm]: install net-tools package for debug

Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
Guohan Lu 2021-01-30 06:50:35 -08:00 committed by lguohan
parent 908884b0e8
commit 83c51e4803
2 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,8 @@ def main():
# check version # check version
time.sleep(5) time.sleep(5)
p.sendline('uptime')
p.expect([cmd_prompt])
p.sendline('show version') p.sendline('show version')
p.expect([cmd_prompt]) p.expect([cmd_prompt])
p.sendline('show ip bgp sum') p.sendline('show ip bgp sum')

View File

@ -48,6 +48,7 @@ prepare_installer_disk()
umount $tmpdir umount $tmpdir
} }
apt-get install -y net-tools
create_disk create_disk
prepare_installer_disk prepare_installer_disk