Kyle McDonald wrote:
> Hi all,
> 
> I've automated installation of the host's ssh keys during my finish 
> script, but on first boot, the machine stops booting, and prompts the 
> user whether or not to overwrite the key files with new ones?
> 
> Why?

The first boot is set to be a reconfigure boot, so all the apps
listed in /etc/.sysidconfig.apps get called.

> 
> How can I stop this? I checked for a 0/1 value in /etc/.sysIDtool.state, 
> and didn't find anything.

sshd is not a sysidtool, so you won't find it in /etc/.sysIdtool.state

> 
> It doesn't do this on later boots, so there must be a way to trick it 
> into thinking it's been done already?

Whether its done or not is gulped in with the fact that it was a
reconfigure boot.  If you turn that off for the first boot, the
other apps won't get run, and I don't think you want that.

Is there perhaps some configuration in sshd_config to tell it what
to do with the key files if it runs again?


-ethan

> 
> 
>   -Kyle
> 
> _______________________________________________
> install-discuss mailing list
> install-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/install-discuss

Reply via email to