Revert "Regenerate ssh host key on boot"

This reverts commit e60eb73a5d.

Change-Id: Iae667506e9878928f39f1518a26800f18f30a3eb
This commit is contained in:
Monty Taylor
2015-03-20 12:46:24 -04:00
parent 26361db03c
commit c9966cee0b
2 changed files with 0 additions and 8 deletions

View File

@ -48,10 +48,6 @@ sed -i -e 's/^\(DNS[0-9]*=[.0-9]\+\)/#\1/g' /etc/sysconfig/network-scripts/ifcfg
set -e
echo 'nameserver 127.0.0.1' > /etc/resolv.conf
if type dpkg-reconfigure >/dev/null 2>&1 && ! test -f /etc/ssh/ssh_host_rsa_key
then
dpkg-reconfigure openssh-server
fi
exit 0
EOF

View File

@ -110,10 +110,6 @@ sed -i -e 's/^\(DNS[0-9]*=[.0-9]\+\)/#\1/g' /etc/sysconfig/network-scripts/ifcfg
set -e
echo 'nameserver 127.0.0.1' > /etc/resolv.conf
if type dpkg-reconfigure >/dev/null 2>&1 && ! test -f /etc/ssh/ssh_host_rsa_key
then
dpkg-reconfigure openssh-server
fi
exit 0
EOF