Fix failing systemd ssh.service
authorDarshaka Pathirana <dpat@syn-net.org>
Sat, 5 Nov 2016 19:27:17 +0000 (20:27 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 13 Jan 2017 14:04:29 +0000 (15:04 +0100)
commit5b0d1600825c2fe273b47adaf6278cba3c241f5c
treeaa8dd2f817cb80fe3630a7c30378d34f7641ebc3
parentc970c21d41fb49d545f9078ffaf8632bfba4b857
Fix failing systemd ssh.service

SSH needs host keys which previously were generated by
ssh-keygen.service. But the generation of the host keys is not a
"service" and must only be done when no host keys exist.

Also ssh-bootoption.service was aliased with sshd.service which itself
depends on the kernel option "ssh" which prevents starting of ssh. So I
removed the alias entry.
etc/grml/fai/config/files/etc/systemd/system/ssh-bootoption.service/GRMLBASE
etc/grml/fai/config/files/etc/systemd/system/ssh-keygen.service/GRMLBASE [deleted file]
etc/grml/fai/config/files/etc/systemd/system/ssh.service/GRMLBASE [new file with mode: 0644]