debian/cephadm.postinst: wrap command line lines which is too long

for better readability.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
This commit is contained in:
Kefu Chai 2024-01-17 23:44:23 +08:00
parent a1a857698c
commit c517d0b0e9

View 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