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 @@ -123,7 +123,7 @@ def setUp(self):
123
123
except AttributeError :
124
124
self .url = "http://liquidtelecom.dl.sourceforge.net/project/ebizzy/ebizzy/0.3/ebizzy-0.3.tar.gz"
125
125
self .cv_SYSTEM .goto_state (OpSystemState .OS )
126
- res = self .c . run_command ("cat /etc/os-release" )
126
+ res = self .cv_HOST . host_run_command ("cat /etc/os-release" , timeout = 60 )
127
127
if "Ubuntu" in res [0 ] or "Ubuntu" in res [1 ]:
128
128
self .distro = "ubuntu"
129
129
elif 'Red Hat' in res [0 ] or 'Red Hat' in res [1 ]:
@@ -895,7 +895,7 @@ def setup_nfs(self):
895
895
self .c .run_command ("sed -i 's/-l -F --message-level/-l --message-level/' /etc/kdump.conf; sync" )
896
896
self .c .run_command ("sed -i '/^path/ s/^#*/#/' /etc/kdump.conf; echo 'path /' >> /etc/kdump.conf; sync" )
897
897
self .c .run_command ("mount -t nfs %s:%s /var/crash" % (self .dump_location , self .dump_path ))
898
- self .c . run_command ("systemctl restart kdump.service" , timeout = 180 )
898
+ self .cv_HOST . host_run_command ("systemctl restart kdump.service" , timeout = 300 )
899
899
self .c .run_command ("fsfreeze -f /boot; fsfreeze -u /boot" )
900
900
res = self .c .run_command ("service kdump status | grep active" )
901
901
if 'dead' in res :
You can’t perform that action at this time.
0 commit comments