Line 88 of scripts/create-controller.sh reads ... chroot ~/mnt rm -f mnt/etc/ssh/*key* && \ However this chroot into ~/mnt and then uses mnt at the start of the rm. I think it should be ... chroot ~/mnt rm -f /etc/ssh/*key* && \