From 6519ec52de8bfb0f3e4cd1a6f7e44006a975fa9e Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 28 Apr 2008 12:42:21 +0000 Subject: [PATCH] For now always mount /tftpboot and /install on the service nodes. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/lib/xcat/plugins/NFSsn.pm | 2 +- xCAT-server-2.0/lib/xcat/plugins/TFTPsn.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server-2.0/lib/xcat/plugins/NFSsn.pm b/xCAT-server-2.0/lib/xcat/plugins/NFSsn.pm index 2b1dc1097..48d907ef6 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/NFSsn.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/NFSsn.pm @@ -40,7 +40,7 @@ sub handled_commands my @nodeipaddr = @nodeinfo; # get ip addresses my $service = "nfsserver"; $rc = xCAT::Utils->isServiceReq($nodename, $service, \@nodeipaddr); - if ($rc == 1) + if ($rc == 1 || $rc == 0) # for now always mount install { # service needed on this Service Node diff --git a/xCAT-server-2.0/lib/xcat/plugins/TFTPsn.pm b/xCAT-server-2.0/lib/xcat/plugins/TFTPsn.pm index e84dc349c..54affecfa 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/TFTPsn.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/TFTPsn.pm @@ -39,7 +39,7 @@ sub handled_commands my $service = "tftpserver"; $rc = xCAT::Utils->isServiceReq($nodename, $service, \@nodeipaddr); - if ($rc == 1) + if ($rc == 1 || $rc == 0) # for now always mount tftpboot { $rc = &setup_TFTP(); # setup TFTP (ATFTP)