From b1df4c12e4ff0e294997c8a5cb53b9ad68d900cd Mon Sep 17 00:00:00 2001 From: phamt Date: Wed, 5 Jan 2011 16:43:50 +0000 Subject: [PATCH] Set SELinux default context in RHEL6 postscript. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/install/scripts/post.rhel6.s390x | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.rhel6.s390x b/xCAT-server/share/xcat/install/scripts/post.rhel6.s390x index 2d42d1b36..d739ecb9d 100644 --- a/xCAT-server/share/xcat/install/scripts/post.rhel6.s390x +++ b/xCAT-server/share/xcat/install/scripts/post.rhel6.s390x @@ -115,4 +115,7 @@ echo "$TMP" > /tmp/mypostscript /tmp/mypostscript # Master/service node variable set by nodeset -updateflag.awk replace_master 3002 \ No newline at end of file +updateflag.awk replace_master 3002 + +# Restore default SELinux security context +restorecon -R -v /root/.ssh \ No newline at end of file