瀏覽代碼

Don't remove initial ssh host keys - they will be regenerated during install

Bob Mottram 9 年之前
父節點
當前提交
ad36c2a219
共有 1 個檔案被更改,包括 0 行新增3 行删除
  1. 0
    3
      src/freedombone-image-customise

+ 0
- 3
src/freedombone-image-customise 查看文件

@@ -350,9 +350,6 @@ chroot "$rootdir" freedombone-image-hardware-setup 2>&1 | \
350 350
 
351 351
 rm $rootdir/usr/sbin/policy-rc.d
352 352
 
353
-# Remove SSH keys from the image
354
-rm $rootdir/etc/ssh/ssh_host_* || true
355
-
356 353
 if [[ "$MACHINE" != "beaglebone" ]]; then
357 354
     chroot $rootdir apt-get -y install haveged
358 355
 else