2019-06-17 19:35:11 +03:00
# server distributions
i f e q ( d i s t r o , $( IMAGE_CLASS ) )
distro/server-v : cockpit = $( addprefix server -v /cockpit /,\
docker kvm web)
distro/server-v : ceph = $( addprefix server -v /ceph /,\
client mgr mon osd radosgw)
distro/server-v : glusterfs = $( addprefix server -v /glusterfs /,\
client server)
distro/server-v : iscsi = $( addprefix server -v /iscsi /,\
initiator scsitarget targetcli)
distro/server-v : moosefs = $( addprefix server -v /moosefs /,\
cgiserv chunkserver client master metalogger)
2019-07-09 19:32:59 +03:00
distro/server-v : lizardfs = $( addprefix server -v /lizardfs /,\
cgiserv chunkserver client master metalogger)
2019-06-17 19:35:11 +03:00
distro/server-v : nfs = $( addprefix server -v /,\
nfs nfs-ganesha)
distro/server-v : opennebula = $( addprefix server -v /opennebula /,\
flow gate gui node-kvm node-lxd server)
distro/server-v : openstack = $( addprefix server -v /openstack /,\
2019-07-10 15:23:14 +03:00
block compute controller network)
# storage
2019-06-17 19:35:11 +03:00
distro/server-v : container = $( addprefix server -v /,\
2019-07-24 20:29:53 +03:00
docker kubernetes podman lxd)
2019-06-17 19:35:11 +03:00
distro/server-v : network = $( addprefix server -v /,\
2019-07-24 17:15:55 +03:00
apache2 nginx bird dhcp dns haproxy keepalived openvswitch freeipa-client)
2019-06-17 19:35:11 +03:00
distro/server-v : monitoring = $( addprefix server -v /,\
zabbix-agent telegraf prometheus-node_exporter monit collectd nagios-nrpe)
# zabbix prometheus influxdb grafana
distro/server-v : backup = $( addprefix server -v /,\
2019-07-24 14:55:22 +03:00
bacula urbackup-client)
2019-06-17 19:35:11 +03:00
distro/server-v : logging = $( addprefix server -v /,\
rsyslog-classic systemd-journal-remote)
2019-06-17 22:42:32 +03:00
distro/server-v : profiles = $( addprefix server -v /,\
2019-07-10 18:45:33 +03:00
110-basic 120-pve 131-opennebula-node 132-opennebula-server 141-openstack-node 142-openstack-controller 201-docker)
2019-06-17 19:35:11 +03:00
2019-07-20 11:46:46 +03:00
i f e q ( , $( filter -out x 86_ 64,$ ( ARCH ) ) )
distro/server-v : profiles_arch = $( addprefix server -v /,\
120-pve)
e n d i f
2019-06-17 19:35:11 +03:00
distro/.server-v-base : distro /.installer use /syslinux /ui /menu use /memtest
@$( call add,BASE_LISTS,server-base openssh)
2019-07-24 19:18:59 +03:00
distro/server-v : distro /.server -v -base +installer +systemd \
use/kernel/server use/init/systemd/multiuser \
2019-06-17 19:35:11 +03:00
use/services use/ntp/chrony \
2019-07-24 20:57:23 +03:00
use/server/base use/firmware use/firmware/cpu \
2019-07-24 19:18:59 +03:00
use/l10n/default/ru_RU use/install2/vnc \
use/install2/xfs use/install2/fat \
use/net/etcnet use/net-ssh \
2019-06-17 19:35:11 +03:00
use/apt-conf/branch use/install2/repo \
2019-07-24 20:57:23 +03:00
use/fonts/install2 use/plymouth/install2 \
2019-06-17 19:35:11 +03:00
use/efi/shell +efi
@$( call set,IMAGE_FLAVOUR,$( subst alt-9-,,$( IMAGE_NAME) ) )
2019-07-24 14:04:09 +03:00
@$( call set,META_VOL_ID,ALT Server-V 9.0.0 $( ARCH) )
2019-06-17 19:35:11 +03:00
@$( call set,META_PUBLISHER,BaseALT Ltd)
@$( call set,META_VOL_SET,ALT)
2019-07-24 14:04:09 +03:00
@$( call set,META_APP_ID,ALT Server-V 9.0.0 $( ARCH) $( shell date +%F) )
2019-06-17 19:35:11 +03:00
@$( call set,DOCS,alt-server)
2019-07-24 19:22:13 +03:00
@$( call set,BRANDING,alt-server)
2019-06-17 19:35:11 +03:00
@$( call add,STAGE1_MODLISTS,stage2-mmc)
@$( call set,INSTALLER,alt-server-v)
@$( call add,INSTALL2_PACKAGES,alterator-notes)
@$( call add,INSTALL2_PACKAGES,fdisk xfsprogs btrfs-progs)
@$( call add,INSTALL2_PACKAGES,installer-feature-multipath)
2019-07-24 19:22:13 +03:00
@$( call add,INSTALL2_PACKAGES,installer-feature-server-raid-fixup-stage2)
2019-07-24 20:57:23 +03:00
@$( call add,INSTALL2_BRANDING,bootloader bootsplash notes slideshow)
@$( call add,THE_BRANDING,notes)
@$( call add,THE_BRANDING,alterator graphics)
@$( call add,THE_BRANDING,indexhtml)
2019-07-24 19:22:13 +03:00
@$( call add,THE_PACKAGES,alterator-fbi)
@$( call add,THE_LISTS,$( call tags,server alterator) )
2019-06-17 19:35:11 +03:00
@$( call add,COMMON_PACKAGES,vim-console)
@$( call add,SYSTEM_PACKAGES,mdadm-tool lvm2 multipath-tools vdo)
@$( call add,BASE_KMODULES,ipset kvm xtables-addons kvdo)
@$( call add,BASE_LISTS,virt/base.pkgs)
2019-07-10 18:45:33 +03:00
@$( call add,MAIN_GROUPS,server-v/110-basic server-v/kvm)
2019-07-20 11:46:46 +03:00
i f e q ( , $( filter -out x 86_ 64,$ ( ARCH ) ) )
2019-07-10 18:45:33 +03:00
@$( call add,MAIN_GROUPS,server-v/120-pve server-v/pve)
2019-07-20 11:46:46 +03:00
e n d i f
2019-07-10 18:45:33 +03:00
@$( call add,MAIN_GROUPS,server-v/130-opennebula $( opennebula) )
@$( call add,MAIN_GROUPS,server-v/140-openstack $( openstack) )
@$( call add,MAIN_GROUPS,server-v/200-container $( container) )
@$( call add,MAIN_GROUPS,server-v/300-cluster server-v/corosync_pacemaker)
@$( call add,MAIN_GROUPS,server-v/400-storage)
@$( call add,MAIN_GROUPS,server-v/410-ceph $( ceph) )
@$( call add,MAIN_GROUPS,server-v/420-glusterfs $( glusterfs) )
2019-07-10 18:46:48 +03:00
@$( call add,MAIN_GROUPS,server-v/430-moosefs $( moosefs) )
2019-07-10 18:45:33 +03:00
@$( call add,MAIN_GROUPS,server-v/450-nfs $( nfs) )
@$( call add,MAIN_GROUPS,server-v/460-iscsi $( iscsi) )
2019-07-09 20:12:56 +03:00
@$( call add,MAIN_GROUPS,server-v/ocfs2)
2019-07-10 18:45:33 +03:00
@$( call add,MAIN_GROUPS,server-v/500-network $( network) )
@$( call add,MAIN_GROUPS,server-v/600-monitoring $( monitoring) )
@$( call add,MAIN_GROUPS,server-v/700-backup $( backup) )
@$( call add,MAIN_GROUPS,server-v/800-logging $( logging) )
2019-07-20 11:46:46 +03:00
@$( call add,THE_PROFILES,$( profiles) $( profiles_arch) minimal)
2019-06-17 19:35:11 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,getty@tty1 getty@ttyS0)
@$( call add,DEFAULT_SERVICES_ENABLE,fstrim.timer)
2019-07-24 19:22:13 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,libvirtd)
@$( call add,DEFAULT_SERVICES_ENABLE,docker lxd)
@$( call add,DEFAULT_SERVICES_ENABLE,bind nginx httpd2 mysqld openvswitch)
@$( call add,DEFAULT_SERVICES_ENABLE,zabbix_agentd telegraf prometheus-node_exporter prometheus monit collectd nrpe)
@$( call add,DEFAULT_SERVICES_ENABLE,bacula-sd urbackup-client)
@$( call add,DEFAULT_SERVICES_ENABLE,rsyslogd systemd-journal-remote systemd-journal-upload systemd-journal-gatewayd)
2019-06-17 19:35:11 +03:00
@$( call add,DEFAULT_SERVICES_DISABLE,powertop bridge gpm)
@$( call add,DEFAULT_SERVICES_DISABLE,consolesaver)
@$( call add,DEFAULT_SERVICES_DISABLE,ahttpd alteratord)
2019-07-11 17:01:05 +03:00
@$( call add,DEFAULT_SERVICES_DISABLE,systemd-networkd systemd-resolved)
2019-06-17 19:35:11 +03:00
2019-07-24 18:39:01 +03:00
# @$(call add,MAIN_GROUPS,server-v/111-cockpit $(cockpit))
2019-06-17 19:35:11 +03:00
e n d i f