X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Ffiles%2Fetc%2Frc.local%2FCLOUD;h=6c2a8004afa71b0853cbc58b0d5388ae858acf53;hp=a80ac394a458dcfc1e8810923bfd57170c36c1cf;hb=2773c14668a490a1254a63541e1ef9fd3377104b;hpb=7024f2155d8d5e4754d5c1ce0ccf8352149f81cd diff --git a/fai/config/files/etc/rc.local/CLOUD b/fai/config/files/etc/rc.local/CLOUD index a80ac39..6c2a800 100755 --- a/fai/config/files/etc/rc.local/CLOUD +++ b/fai/config/files/etc/rc.local/CLOUD @@ -1,7 +1,7 @@ #! /bin/bash # regenerate ssh_host keys -ls /etc/ssh/ssh_host_* > /dev/null +ls /etc/ssh/ssh_host_* >/dev/null 2>&1 if [ $? -ne 0 ]; then dpkg-reconfigure -fnoninteractive openssh-server fi