Re: ssh_host-keys are preserved by autoinstallation despite formating the disk

"Marion, Mike" <[email protected]> Thu, 1 Dec 2016 20:00:09 +0000
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
On Thu, Dec 01, 2016 at 12:07:07PM +0100, m.frerichs wrote:

> It seems that ssh-keys in /etc/ssh  are preserved from the old existing system,
> even  if I recreate and reformat the disk .
> Is it true that such a feature exists and why?
> Are there other configurations  which are preserved?

Wow.. this should be configurable, but I've wanted something like this
for years.  We tend to re-image our hosts for upgrades or other reasons
more than most likely do (we're using SLE though) and I had coded some
stuff to do this year ago using a pre-install, ramdisk and then
find/copy over during pre, find/copy back during chroot.

Was never 100% though.

-- 
Mike Marion-Unix SysAdmin/Sr. Staff IT Engineer-http://www.qualcomm.com
Homer: "Oh Lisa, I'm sorry, I tried my best.  I know it's hard when you 
discover your dad isn't perfect."
Bart: "Not perfect?!? You can say that again!"
Homer: "I'm trying to be a sensitive father you unwanted moron!" => Simpsons-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]