From a17727ddd30cff3642dfe3a52e72c2eb8d57ea81 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 18 Mar 2009 13:05:27 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/AAsn.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/AAsn.pm b/xCAT-server/lib/xcat/plugins/AAsn.pm index 48d13a04e..b08ff60e4 100644 --- a/xCAT-server/lib/xcat/plugins/AAsn.pm +++ b/xCAT-server/lib/xcat/plugins/AAsn.pm @@ -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