Add migration .ssh root files.

master
Mike Hiretsky 13 years ago
parent e63bcf3e09
commit 46345fd4e5

@ -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')

Loading…
Cancel
Save