]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian/cephadm.postinst: wrap command line lines which is too long
authorKefu Chai <tchaikov@gmail.com>
Wed, 17 Jan 2024 15:44:23 +0000 (23:44 +0800)
committerMatthew Vernon <mvernon@wikimedia.org>
Thu, 22 Feb 2024 10:06:29 +0000 (10:06 +0000)
for better readability.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit c517d0b0e95b20cd9bd979405d0248b9419e5c85)

debian/cephadm.postinst

index 53d503e1eaa0a08f7282c9967a347492d2be6bcb..090677ad992eea3db4d503d68700c5d209feeeff 100644 (file)
@@ -25,7 +25,11 @@ case "$1" in
        # 1. create user if not existing
        if ! getent passwd | grep -q "^cephadm:"; then
          echo -n "Adding system user cephadm.."
-         adduser --quiet --system --disabled-password --gecos 'cephadm user for mgr/cephadm' --shell /bin/bash cephadm 2>/dev/null || true
+         adduser --quiet \
+                 --system \
+                 --disabled-password \
+                 --gecos 'cephadm user for mgr/cephadm' \
+                 --shell /bin/bash cephadm 2>/dev/null || true
          echo "..done"
        fi