The call to /etc/profile.d/xcat.sh should be for LINUX ONLY.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -78,10 +78,12 @@ mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT | ||||
| cp LICENSE.html $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT | ||||
|  | ||||
| %post | ||||
| . /etc/profile.d/xcat.sh | ||||
| %ifnos linux | ||||
| . /etc/profile | ||||
| $RPM_INSTALL_PREFIX0/sbin/xcatconfig | ||||
| %else | ||||
| . /etc/profile.d/xcat.sh | ||||
|  | ||||
| if [ ! -f /install/postscripts/hostkeys/ssh_host_key ]; then  | ||||
|     echo Generating SSH1 RSA Key... | ||||
|     /usr/bin/ssh-keygen -t rsa1 -f /install/postscripts/hostkeys/ssh_host_key -C '' -N '' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user