In stx 3.0, ceph runs with root user and is not meant to
be managed by systemd, so remove ceph user group, and
disable systemd services by default.
Issue-ID: INF-92
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I6613f6f9c4678da897ffee3faae0ce1929bb87e5
groupadd -r -g 128 nscd
useradd -M -o -r -d / -s /sbin/nologin -c 'NSCD Daemon' -u 28 -g nscd nscd
-useradd -p '' ceph
-groupadd ceph
-usermod -a -G ceph ceph
-
useradd -p '' patching
groupadd patching
usermod -a -G patching patching
useradd -m -g sys_protected -G root \
-d /home/sysadmin -p ${SYSADMIN_P} \
-s /bin/sh sysadmin; \
- useradd -p '' ceph; \
- groupadd ceph; \
- usermod -a -G ceph ceph; \
useradd -p '' haproxy; \
groupadd haproxy; \
usermod -a -G haproxy haproxy; \
ceph-mgr.target \
rbdmap.service \
"
+SYSTEMD_AUTO_ENABLE = "disable"
OECMAKE_GENERATOR = "Unix Makefiles"