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:
parent
31bcc6e4ea
commit
ebdc6894d6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user