diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/cephadm.postinst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/debian/cephadm.postinst b/debian/cephadm.postinst index eaa574cbb63..274b7f7846a 100644 --- a/debian/cephadm.postinst +++ b/debian/cephadm.postinst @@ -43,19 +43,19 @@ case "$1" in # set up (initially empty) .ssh/authorized_keys file if ! test -d /home/cephadm/.ssh; then - mkdir /home/cephadm/.ssh - chown --reference /home/cephadm /home/cephadm/.ssh - chmod 0700 /home/cephadm/.ssh + mkdir /home/cephadm/.ssh + chown --reference /home/cephadm /home/cephadm/.ssh + chmod 0700 /home/cephadm/.ssh fi if ! test -e /home/cephadm/.ssh/authorized_keys; then - touch /home/cephadm/.ssh/authorized_keys - chown --reference /home/cephadm /home/cephadm/.ssh/authorized_keys - chmod 0600 /home/cephadm/.ssh/authorized_keys + touch /home/cephadm/.ssh/authorized_keys + chown --reference /home/cephadm /home/cephadm/.ssh/authorized_keys + chmod 0600 /home/cephadm/.ssh/authorized_keys fi ;; abort-upgrade|abort-remove|abort-deconfigure) - : + : ;; *) |