2 require conf/distro/poky.conf
4 DISTRO_NAME = "Stx (Poky Starlingx Distro)"
5 DISTRO_VERSION = "2.7.3"
6 DISTRO_CODENAME = "warrior"
8 MAINTAINER = "zbsarashki <zbsarashki@gmail.com>"
10 require conf/distro/include/stx-features.inc
11 require conf/distro/include/stx-preferred-vers.inc
13 # For packagegroup-basic
14 TASK_BASIC_SSHDAEMON = "openssh-sshd openssh-sftp openssh-sftp-server"
17 #KERNEL_FEATURES += "features/overlayfs/overlayfs.scc"
20 # Disable services by default
21 SYSTEMD_AUTO_ENABLE_pn-haproxy = "disable"
22 SYSTEMD_AUTO_ENABLE_pn-lighttpd = "disable"
23 SYSTEMD_AUTO_ENABLE_pn-postgresql = "disable"
25 # Defines the serial consoles (TTYs) to enable using getty
26 SERIAL_CONSOLES = "115200;ttyS0"
28 # /var/log is mounted as a logical volume for stx,
29 # so do not link to /var/volatile/log.
30 VOLATILE_LOG_DIR = "no"
32 # We don't need extra space for iso image
33 IMAGE_OVERHEAD_FACTOR = "1.05"
35 # Add extra users and groups for stx
36 SYSADMIN_P = "4SuW8cnXFyxsk"
38 EXTRA_USERS_PARAMS_CONFIG = "\
39 groupadd -f -g 345 sys_protected; \
40 useradd -m -g sys_protected -G root \
41 -d /home/sysadmin -p ${SYSADMIN_P} \
42 -s /bin/sh sysadmin; \
43 useradd -p '' haproxy; \
45 usermod -a -G haproxy haproxy; \
46 useradd -p '' patching; \
48 usermod -a -G patching patching; \
51 usermod -a -G nfv nfv; \
54 usermod -a -G www www; \
55 usermod -a -G sys_protected sysadmin; \
56 usermod -a -G sys_protected sysinv; \
57 usermod -a -G sys_protected www; \
58 usermod -a -G sys_protected nfv; \
59 usermod -a -G sys_protected patching; \
60 usermod -a -G sys_protected haproxy; \
61 usermod -a -G snmpd fm; \
62 usermod -P root root; \
64 groupadd -r -g 128 nscd; \
65 useradd -M -o -r -d / -s /sbin/nologin -c 'NSCD Daemon' -u 28 -g nscd nscd; \
71 CONTROLLER_IP = "127.0.0.1"
72 HELM_TOOL_KIT_VERSION = "0.1.0"
74 HELM_REPO = "stx-platform"
77 # For the stx /etc/build.info
79 STX_BUILD_DATE := "${@time.strftime('%Y-%m-%d %H:%M:%S',time.gmtime())}"
81 DISTRO_FEATURES_NATIVE_append += " pam systemd "
82 DISTRO_FEATURES_append += " pam systemd "