fix sed --in-place (was --inplace)
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 26 May 2015 15:06:21 +0000 (17:06 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 26 May 2015 15:06:21 +0000 (17:06 +0200)
lbuild-initvm.sh

index 04a0607..1475cad 100755 (executable)
@@ -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
 }