diff options
Diffstat (limited to 'init')
-rwxr-xr-x | init | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -383,6 +383,14 @@ o="nodev,noexec,nosuid,size=512M" o+=",mode=0755,uid=$(id -u build),gid=$(id -g build)" echo "tmpfs /build/tftp tmpfs $o 0 0" >>$fstab +# Generate a host key. Used, for example, by the bbot agent to authenticate +# with a controller. +# +mkdir -p /state/etc +if [ ! -e /state/etc/host-key.pem ]; then + openssl genrsa 4096 >/state/etc/host-key.pem +fi + # Configure Postfix. # cat <<<"$hname" >/etc/mailname |