restart nfs resource group after run chnfsdom for NFSv4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -2585,6 +2585,17 @@ sub mknimimage | ||||
|                 return 1; | ||||
|             } | ||||
|  | ||||
|             $nimcmd = qq~stopsrc -g nfs~; | ||||
|             $nimout = | ||||
|               xCAT::InstUtils->xcmd($callback, $subreq, "xdsh", $nimprime, $nimcmd, | ||||
|                                     0); | ||||
|             sleep 2; | ||||
|             $nimcmd = qq~startsrc -g nfs~; | ||||
|             $nimout = | ||||
|               xCAT::InstUtils->xcmd($callback, $subreq, "xdsh", $nimprime, $nimcmd, | ||||
|                                     0); | ||||
|  | ||||
|  | ||||
|             #nim -o change -a nfs_domain=$nfsdom master | ||||
|             $nimcmd = qq~nim -o change -a nfs_domain=$domain master~; | ||||
|             $nimout = xCAT::InstUtils->xcmd($callback, $subreq, "xdsh", $nimprime, $nimcmd,0); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user