X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lbuild-initvm.sh;h=1475cadae145d80a9c07dfe568a7f00dd787d4cb;hb=74db5fc1d3f6a0e38abffee1cbb326fc14193560;hp=04a0607cbc8c59f60f7d1a7439d140d28ce9013a;hpb=4152d155acc3c08c684f571d5aa25054f0e86505;p=build.git 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 }