Code Review
/
nfvbench.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
nfvbenchvm: abort build on error
[nfvbench.git]
/
nfvbenchvm
/
dib
/
elements
/
nfvbenchvm
/
post-install.d
/
53-sshd-script
diff --git
a/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/53-sshd-script
b/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/53-sshd-script
index
64e8877
..
c735506
100755
(executable)
--- a/
nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/53-sshd-script
+++ b/
nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/53-sshd-script
@@
-1,4
+1,7
@@
#!/bin/bash
+# Stop on error
+set -euo pipefail
+
# Set UseDNS no value in sshd_config to reduce time to connect
-echo "UseDNS no" >> /etc/ssh/sshd_config
\ No newline at end of file
+echo "UseDNS no" >> /etc/ssh/sshd_config