From f9ef6406766a9b177561882db9317a775c0c29d3 Mon Sep 17 00:00:00 2001 From: Jon Clausen Date: Tue, 4 Sep 2018 15:33:36 +0200 Subject: -i '' has suddenly become an issue for sed... --- ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ks-template/hw/supermicro') 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 6c93a4f..77acd86 100644 --- a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks +++ b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks @@ -61,9 +61,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/#ListenAddress 0.0.0.0/ListenAddress PRIIP/' /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 # Set up secondary interface routing: #SIR#echo -e "1024\tmi-01" >>/etc/iproute2/rt_tables -- cgit v1.1