summaryrefslogtreecommitdiff
path: root/ks-template/hw/dell/R7425
diff options
context:
space:
mode:
Diffstat (limited to 'ks-template/hw/dell/R7425')
-rw-r--r--ks-template/hw/dell/R7425/100g-dtn.ks5
1 files changed, 3 insertions, 2 deletions
diff --git a/ks-template/hw/dell/R7425/100g-dtn.ks b/ks-template/hw/dell/R7425/100g-dtn.ks
index 37ea0ea..ecaa851 100644
--- a/ks-template/hw/dell/R7425/100g-dtn.ks
+++ b/ks-template/hw/dell/R7425/100g-dtn.ks
@@ -58,8 +58,9 @@ rng-tools
%post
# %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
+/bin/sed -ie 's/#PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config
+/bin/sed -ie 's/#ListenAddress 0.0.0.0/ListenAddress PRIIP/' /etc/ssh/sshd_config
+/bin/sed -ie 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config
# GRUB stuffs:
# anaconda insists on adding 'rhgb quiet' to the kernel commandline, so: