From 46345fd4e5894341957c1cabbc1c3671f5e2df69 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Thu, 15 Dec 2011 13:03:31 +0400 Subject: [PATCH] Add migration .ssh root files. --- pym/cl_install.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pym/cl_install.py b/pym/cl_install.py index 3b97c09..9e1a7d9 100644 --- a/pym/cl_install.py +++ b/pym/cl_install.py @@ -2446,7 +2446,9 @@ class cl_install(color_print, SignalInterrupt): _("Coping configuration files to the new system")) fileMask = r"/etc/udev/rules\.d/70-persistent-net\.rules" if self.clVars.Get('os_root_type') != "livecd": - fileMask = "(%s|/etc/ssh/ssh_host_.*)"%fileMask + fileMask = \ + "(%s|/etc/ssh/ssh_host_.*|/root/.ssh/(id_.*|known_hosts))"% \ + fileMask fileCpy = otherfilesCopy(target=targetDistr.getDirectory(), reTest=fileMask) fileCpy.performCopy('/etc')