installer.sh: fix live ssh keys removal on installed target
This commit is contained in:
parent
78a5686eca
commit
f21e71bfe1
@ -643,7 +643,7 @@ rpm -r $MOUNTPOINT -e livecd-tools
|
|||||||
[ "$INSTALL_STABLE_UPDATES" = "1" ] && rpm -r $MOUNTPOINT -e openmamba-devel 2>/dev/null
|
[ "$INSTALL_STABLE_UPDATES" = "1" ] && rpm -r $MOUNTPOINT -e openmamba-devel 2>/dev/null
|
||||||
|
|
||||||
# remove ssh live medium keys
|
# remove ssh live medium keys
|
||||||
rm -f $MOUNTPOINT/etc/ssh_host_*.key $MOUNTPOINT/etc/ssh_host_*.key.pub
|
rm -f $MOUNTPOINT/etc/ssh/ssh_host_*.key $MOUNTPOINT/etc/ssh/ssh_host_*.key.pub
|
||||||
|
|
||||||
sed -i /eject_cd.sh/d $MOUNTPOINT/etc/rc0.d/K99halt
|
sed -i /eject_cd.sh/d $MOUNTPOINT/etc/rc0.d/K99halt
|
||||||
sed -i /eject_cd.sh/d $MOUNTPOINT/etc/rc6.d/K99reboot
|
sed -i /eject_cd.sh/d $MOUNTPOINT/etc/rc6.d/K99reboot
|
||||||
|
Loading…
Reference in New Issue
Block a user