Code Review
/
pti
/
rtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
sysinv: inherit useradd to add user and group
[pti/rtp.git]
/
meta-stx
/
conf
/
distro
/
poky-stx.conf
diff --git
a/meta-stx/conf/distro/poky-stx.conf
b/meta-stx/conf/distro/poky-stx.conf
index
8eb85dc
..
fbd20f6
100644
(file)
--- a/
meta-stx/conf/distro/poky-stx.conf
+++ b/
meta-stx/conf/distro/poky-stx.conf
@@
-33,6
+33,7
@@
TASK_BASIC_SSHDAEMON = "openssh-sshd openssh-sftp openssh-sftp-server"
# Disable services by default
SYSTEMD_AUTO_ENABLE_pn-haproxy = "disable"
SYSTEMD_AUTO_ENABLE_pn-lighttpd = "disable"
# Disable services by default
SYSTEMD_AUTO_ENABLE_pn-haproxy = "disable"
SYSTEMD_AUTO_ENABLE_pn-lighttpd = "disable"
+SYSTEMD_AUTO_ENABLE_pn-postgresql = "disable"
# networking sysv service is required
SYSTEMD_DISABLED_SYSV_SERVICES_remove = "networking"
# networking sysv service is required
SYSTEMD_DISABLED_SYSV_SERVICES_remove = "networking"
@@
-53,9
+54,6
@@
EXTRA_USERS_PARAMS_CONFIG = "\
useradd -m -g sys_protected -G root \
-d /home/sysadmin -p ${SYSADMIN_P} \
-s /bin/sh sysadmin; \
useradd -m -g sys_protected -G root \
-d /home/sysadmin -p ${SYSADMIN_P} \
-s /bin/sh sysadmin; \
- useradd -p '' sysinv; \
- groupadd sysinv; \
- usermod -a -G sysinv sysinv; \
useradd -p '' ceph; \
groupadd ceph; \
usermod -a -G ceph ceph; \
useradd -p '' ceph; \
groupadd ceph; \
usermod -a -G ceph ceph; \