summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Clausen <jac@nordu.net>2018-09-04 09:25:28 +0200
committerJon Clausen <jac@nordu.net>2018-09-04 09:25:28 +0200
commitd6563d0c367d0a58f4551b18e66261670c8c5b6d (patch)
treee11a45b7e2b5ae7379d99952354359e15f36518f
parent805ee864b217326f8f1051005603003368230fa8 (diff)
UseDNS no
-rw-r--r--ks-template/hw/dell/R7425/100g-dtn.ks1
-rw-r--r--ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks1
2 files changed, 2 insertions, 0 deletions
diff --git a/ks-template/hw/dell/R7425/100g-dtn.ks b/ks-template/hw/dell/R7425/100g-dtn.ks
index 8757353..60f643b 100644
--- a/ks-template/hw/dell/R7425/100g-dtn.ks
+++ b/ks-template/hw/dell/R7425/100g-dtn.ks
@@ -57,6 +57,7 @@ kexec-tools
# %post
# disallow root login via ssh:
/bin/sed -i '' -e 's/#PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config
+/bin/sed -i '' -e 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config
# GRUB stuffs:
# anaconda insists on adding 'rhgb quiet' to the kernel commandline, so:
diff --git a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
index da4eecf..5799d46 100644
--- a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
+++ b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
@@ -61,6 +61,7 @@ kexec-tools
# disallow root login via ssh:
/bin/sed -i '' -e 's/#PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config
/bin/sed -i '' -e 's/#ListenAddress 0.0.0.0/ListenAddress PRIIP/' /etc/ssh/sshd_config
+/bin/sed -i '' -e 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config
# Install and enable rngd, to take advantage of HWRNG
yum install -y rngd