X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-distro%2Fconf%2Fdistro%2Fpoky-stx.conf;fp=meta-starlingx%2Fmeta-stx-distro%2Fconf%2Fdistro%2Fpoky-stx.conf;h=11eb93bbbdcb8eaf0bc05fcc8d595c3b8ca16ada;hb=e0634c6eaf2fe2641a0fb90e84a5defb880b1335;hp=0000000000000000000000000000000000000000;hpb=210d0f78485e760dffcdd3f630f59cec797f3f11;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-distro/conf/distro/poky-stx.conf b/meta-starlingx/meta-stx-distro/conf/distro/poky-stx.conf new file mode 100644 index 0000000..11eb93b --- /dev/null +++ b/meta-starlingx/meta-stx-distro/conf/distro/poky-stx.conf @@ -0,0 +1,82 @@ + +require conf/distro/poky.conf +DISTRO = "poky-stx" +DISTRO_NAME = "Stx (Poky Starlingx Distro)" +DISTRO_VERSION = "2.7.3" +DISTRO_CODENAME = "warrior" + +MAINTAINER = "zbsarashki " + +require conf/distro/include/stx-features.inc +require conf/distro/include/stx-preferred-vers.inc + +# For packagegroup-basic +TASK_BASIC_SSHDAEMON = "openssh-sshd openssh-sftp openssh-sftp-server" + +# For iso image +#KERNEL_FEATURES += "features/overlayfs/overlayfs.scc" + + +# Disable services by default +SYSTEMD_AUTO_ENABLE_pn-haproxy = "disable" +SYSTEMD_AUTO_ENABLE_pn-lighttpd = "disable" +SYSTEMD_AUTO_ENABLE_pn-postgresql = "disable" + +# 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" + +# We don't need extra space for iso image +IMAGE_OVERHEAD_FACTOR = "1.05" + +# Add extra users and groups for stx +SYSADMIN_P = "4SuW8cnXFyxsk" + +EXTRA_USERS_PARAMS_CONFIG = "\ + groupadd -f -g 345 sys_protected; \ + useradd -m -g sys_protected -G root \ + -d /home/sysadmin -p ${SYSADMIN_P} \ + -s /bin/sh sysadmin; \ + useradd -p '' haproxy; \ + groupadd haproxy; \ + usermod -a -G haproxy haproxy; \ + useradd -p '' patching; \ + groupadd patching; \ + usermod -a -G patching patching; \ + useradd -p '' nfv; \ + groupadd nfv; \ + usermod -a -G nfv nfv; \ + useradd -p '' www; \ + groupadd www; \ + usermod -a -G www www; \ + usermod -a -G sys_protected sysadmin; \ + usermod -a -G sys_protected sysinv; \ + usermod -a -G sys_protected www; \ + usermod -a -G sys_protected nfv; \ + usermod -a -G sys_protected patching; \ + usermod -a -G sys_protected haproxy; \ + usermod -a -G snmpd fm; \ + usermod -P root root; \ + \ + groupadd -r -g 128 nscd; \ + useradd -M -o -r -d / -s /sbin/nologin -c 'NSCD Daemon' -u 28 -g nscd nscd; \ + " + +# Used by: +# neutron-init +# glance-init +CONTROLLER_IP = "127.0.0.1" +HELM_TOOL_KIT_VERSION = "0.1.0" +TIS_PATCH_VER = "7" +HELM_REPO = "stx-platform" +STX_REL = "19.12" + +# For the stx /etc/build.info +STX_ID = "3.0" +STX_BUILD_DATE := "${@time.strftime('%Y-%m-%d %H:%M:%S',time.gmtime())}" + +DISTRO_FEATURES_NATIVE_append += " pam systemd " +DISTRO_FEATURES_append += " pam systemd "