]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerKefu Chai <tchaikov@gmail.com>
Sat, 3 Feb 2024 14:36:50 +0000 (22:36 +0800)
for better readability.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
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