[kvm]: install net-tools package for debug
Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
parent
908884b0e8
commit
83c51e4803
@ -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')
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user