X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Ffiles%2Fetc%2Frc.local%2FCLOUD;h=6c2a8004afa71b0853cbc58b0d5388ae858acf53;hb=78a1427fc167ccee73d448054a9c40c19d737ed3;hp=a80ac394a458dcfc1e8810923bfd57170c36c1cf;hpb=7f77555b3d92709034fe41919358053c650c71e1;p=automated-distro-installer 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