poky-stx.conf: re-define the SERIAL_CONSOLES
[pti/rtp.git] / meta-stx / conf / distro / poky-stx.conf
index 8eb85dc..c338078 100644 (file)
@@ -33,10 +33,14 @@ 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"
+SYSTEMD_AUTO_ENABLE_pn-postgresql = "disable"
 
 # networking sysv service is required
 SYSTEMD_DISABLED_SYSV_SERVICES_remove = "networking"
 
+# Defines the serial consoles (TTYs) to enable using getty
+SERIAL_CONSOLES = "115200;ttyS0"
+
 # /var/log is mounted as a logical volume for stx,
 # so do not link to /var/volatile/log.
 VOLATILE_LOG_DIR = "no"
@@ -45,7 +49,6 @@ VOLATILE_LOG_DIR = "no"
 IMAGE_OVERHEAD_FACTOR = "1.05"
 
 # Add extra users and groups for stx
-INHERIT += " extrausers-config"
 SYSADMIN_P = "4SuW8cnXFyxsk"
 
 EXTRA_USERS_PARAMS_CONFIG = "\
@@ -53,9 +56,6 @@ EXTRA_USERS_PARAMS_CONFIG = "\
        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; \