nfvbenchvm: add 2 debug features to build-image.sh
[nfvbench.git] / nfvbenchvm / dib / elements / nfvbenchvm / post-install.d / 53-sshd-script
1 #!/bin/bash
2
3 if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then
4     set -x
5 fi
6
7 # Stop on error
8 set -euo pipefail
9
10 # Set UseDNS no value in sshd_config to reduce time to connect
11 echo "UseDNS no" >> /etc/ssh/sshd_config