Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-distro / conf / distro / poky-stx.conf
1
2 require conf/distro/poky.conf
3 DISTRO = "poky-stx"
4 DISTRO_NAME = "Stx (Poky Starlingx Distro)"
5 DISTRO_VERSION = "2.7.3"
6 DISTRO_CODENAME = "warrior"
7
8 MAINTAINER = "zbsarashki <zbsarashki@gmail.com>"
9
10 require conf/distro/include/stx-features.inc
11 require conf/distro/include/stx-preferred-vers.inc
12
13 # For packagegroup-basic
14 TASK_BASIC_SSHDAEMON = "openssh-sshd openssh-sftp openssh-sftp-server"
15
16 # For iso image
17 #KERNEL_FEATURES += "features/overlayfs/overlayfs.scc"
18
19
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"
24
25 # Defines the serial consoles (TTYs) to enable using getty
26 SERIAL_CONSOLES = "115200;ttyS0"
27
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"
31
32 # We don't need extra space for iso image
33 IMAGE_OVERHEAD_FACTOR = "1.05"
34
35 # Add extra users and groups for stx
36 SYSADMIN_P = "4SuW8cnXFyxsk"
37
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; \
44         groupadd haproxy; \
45         usermod -a -G haproxy haproxy; \
46         useradd -p '' patching; \
47         groupadd patching; \
48         usermod -a -G patching patching; \
49         useradd -p '' nfv; \
50         groupadd nfv; \
51         usermod -a -G nfv nfv; \
52         useradd -p '' www; \
53         groupadd www; \
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; \
63         \
64         groupadd -r -g 128 nscd; \
65         useradd -M -o -r -d / -s /sbin/nologin -c 'NSCD Daemon' -u 28 -g nscd nscd; \
66         "
67
68 # Used by:
69 # neutron-init
70 # glance-init
71 CONTROLLER_IP = "127.0.0.1"
72 HELM_TOOL_KIT_VERSION = "0.1.0"
73 TIS_PATCH_VER = "7"
74 HELM_REPO = "stx-platform"
75 STX_REL = "19.12"
76
77 # For the stx /etc/build.info
78 STX_ID = "3.0"
79 STX_BUILD_DATE := "${@time.strftime('%Y-%m-%d %H:%M:%S',time.gmtime())}"
80
81 DISTRO_FEATURES_NATIVE_append += " pam systemd "
82 DISTRO_FEATURES_append += " pam systemd "