File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ def setUp(self):
124
124
except AttributeError :
125
125
self .url = "http://liquidtelecom.dl.sourceforge.net/project/ebizzy/ebizzy/0.3/ebizzy-0.3.tar.gz"
126
126
self .cv_SYSTEM .goto_state (OpSystemState .OS )
127
- res = self .c . run_command ("cat /etc/os-release" )
127
+ res = self .cv_HOST . host_run_command ("cat /etc/os-release" , timeout = 60 )
128
128
if "Ubuntu" in res [0 ] or "Ubuntu" in res [1 ]:
129
129
self .distro = "ubuntu"
130
130
elif 'Red Hat' in res [0 ] or 'Red Hat' in res [1 ]:
@@ -903,7 +903,7 @@ def setup_nfs(self):
903
903
self .c .run_command ("sed -i 's/-l -F --message-level/-l --message-level/' /etc/kdump.conf; sync" )
904
904
self .c .run_command ("sed -i '/^path/ s/^#*/#/' /etc/kdump.conf; echo 'path /' >> /etc/kdump.conf; sync" )
905
905
self .c .run_command ("mount -t nfs %s:%s /var/crash" % (self .dump_location , self .dump_path ))
906
- self .c . run_command ("systemctl restart kdump.service" , timeout = 180 )
906
+ self .cv_HOST . host_run_command ("systemctl restart kdump.service" , timeout = 300 )
907
907
self .c .run_command ("fsfreeze -f /boot; fsfreeze -u /boot" )
908
908
res = self .c .run_command ("service kdump status | grep active" )
909
909
if 'dead' in res :
You can’t perform that action at this time.
0 commit comments