fix start of nfs on SLES, it requres start of nfsserver and start of nfs

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2009-03-18 13:05:27 +00:00
parent fd91e51343
commit a17727ddd3

View File

@ -583,7 +583,13 @@ sub setup_NFS
my $rc = 0;
if (xCAT::Utils->isLinux())
{
$rc = xCAT::Utils->startService("nfs");
my $os = xCAT::Utils->osver();
if ($os =~ /sles.*/) {
$rc = xCAT::Utils->startService("nfs");
$rc = xCAT::Utils->startService("nfsserver");
} else {
$rc = xCAT::Utils->startService("nfs");
}
}
else
{ #AIX