Have xCAT metapackage source the profile.d explicitly, so install postscripts will work as intended
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -43,6 +43,9 @@ mkdir -p $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT | ||||
| cp LICENSE.html $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT | ||||
|  | ||||
| %post | ||||
| if [ -f /etc/profile.d/xcat.sh ]; then | ||||
|     . /etc/profile.d/xcat.sh | ||||
| fi | ||||
| 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