From 74db5fc1d3f6a0e38abffee1cbb326fc14193560 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 26 May 2015 17:06:21 +0200 Subject: [PATCH] fix sed --in-place (was --inplace) --- lbuild-initvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 04a0607c..1475cada 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -701,7 +701,7 @@ function post_install () { function sshd_disable_password_auth () { lxc=$1; shift lxc_root=$(lxcroot $lxc) - sed --inplace=.password -e 's,^#\?PasswordAuthentication.*,PasswordAuthentication no,' \ + sed --in-place=.password -e 's,^#\?PasswordAuthentication.*,PasswordAuthentication no,' \ $lxc_root/etc/ssh/sshd_config } -- 2.43.0