Docker: enable ssh tests

Test: restore tty after restconf start
This commit is contained in:
Olof hagsand 2023-11-19 12:16:23 +01:00
parent 8601690c91
commit cafbe7d200
10 changed files with 41 additions and 9 deletions

View file

@ -73,6 +73,9 @@ EOF
# Patch yang syntax errors
sed -i s/=\ olt\'/=\ \'olt\'/g /usr/local/share/yang/standard/ieee/published/802.3/ieee802-ethernet-pon.yang
# Generate ssh host keys
ssh-keygen -A
# Workaround for this error output:
# sudo: setrlimit(RLIMIT_CORE): Operation not permitted
echo "Set disable_coredump false" > /etc/sudo.conf