installer.sh: remove ssh certificates to create new ones in the installed system, now that they are precreated in live media

This commit is contained in:
Silvan Calarco 2011-12-06 22:19:17 +01:00
parent 31bcc6e4ea
commit ebdc6894d6

View File

@ -618,6 +618,9 @@ echo $"Removing/cleaning unnecessary files and packages"
rpm -r $MOUNTPOINT -e livecd-tools
[ "$INSTALL_STABLE_UPDATES" = "1" ] && rpm -r $MOUNTPOINT -e openmamba-devel 2>/dev/null
# remove ssh live medium keys
rm -f $MOUNTPOINT/etc/ssh_host_*.key $MOUNTPOINT/etc/ssh_host_*.key.pub
sed -i /eject_cd.sh/d $MOUNTPOINT/etc/rc0.d/K99halt
sed -i /eject_cd.sh/d $MOUNTPOINT/etc/rc6.d/K99reboot