---
snippets/keep_ssh_host_keys | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/snippets/keep_ssh_host_keys b/snippets/keep_ssh_host_keys
index 1b44d32..9e55735 100644
--- a/snippets/keep_ssh_host_keys
+++ b/snippets/keep_ssh_host_keys
@@ -98,6 +98,9 @@ if [ "$keys_found" = "yes" ]; then
sleep 10
if [ -d /mnt/sysimage$SEARCHDIR ] ; then
cp -af /tmp/$TEMPDIR/${PATTERN}* /mnt/sysimage$SEARCHDIR
+ if [ -e "/sbin/restorecon"]; then
+ /sbin/restorecon -r /etc/ssh
+ fi
logger "keys copied to newly installed system"
break
fi
--
1.7.1
_______________________________________________
cobbler-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler-devel