mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
Update customize_sleep_for_sn
This commit is contained in:
parent
d3eaa578d0
commit
b8c553d329
@ -11,7 +11,7 @@ chomp($snnodename);
|
||||
sleep 300;
|
||||
|
||||
my $timecnt = 0;
|
||||
while ($timecnt < 200) {
|
||||
while ($timecnt < 120) {
|
||||
my $booted = system("lsdef -l $snnodename|grep status|grep booted > /dev/null 2>&1");
|
||||
last if ($booted == 0);
|
||||
|
||||
@ -21,7 +21,7 @@ while ($timecnt < 200) {
|
||||
`echo "send signal to $snnodename for the $timecnt times" >> $log`;
|
||||
}
|
||||
|
||||
sleep 10;
|
||||
sleep 30;
|
||||
$timecnt++;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user