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)
2020-07-05 03:28:19 +03:00
distro/server-v : linstor = $( addprefix server -v /linstor /,\
2020-07-06 14:55:19 +03:00
client controller satellite opennebula-addon)
2020-07-05 03:28:19 +03:00
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 /,\
2024-03-01 17:08:19 +03:00
flow gate gui node-kvm node-lxc server)
2019-06-17 19:35:11 +03:00
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 /,\
2020-09-17 19:22:38 +03:00
docker kubernetes-master kubernetes-node 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 /,\
2024-03-01 17:08:19 +03:00
111-opennebula-server 112-opennebula-node 113-opennebula-lxc 140-basic 201-docker)
2019-10-21 19:57:11 +03:00
#121-openstack-node 122-openstack-controller
2019-06-17 19:35:11 +03:00
2019-11-21 21:34:51 +03:00
i f e q ( , $( filter -out x 86_ 64 aarch 64,$ ( ARCH ) ) )
2019-07-20 11:46:46 +03:00
distro/server-v : profiles_arch = $( addprefix server -v /,\
2019-10-21 19:57:11 +03:00
130-pve)
# 211-openvz
2019-07-20 11:46:46 +03:00
e n d i f
2019-08-16 19:24:46 +03:00
distro/.server-v-base : distro /.base distro /.installer \
2019-10-28 15:39:47 +03:00
use/efi/shell use/efi/grub +efi \
2019-08-30 22:14:58 +03:00
use/memtest use/rescue/base \
2019-08-20 20:41:05 +03:00
+systemd-optimal \
2019-08-16 19:24:46 +03:00
use/services use/control \
2019-09-26 19:45:56 +03:00
use/l10n/default/ru_RU \
2024-04-02 19:52:33 +03:00
use/isohybrid use/luks \
2019-08-16 19:24:46 +03:00
use/install2/vnc/full \
2019-08-21 16:56:49 +03:00
use/install2/xfs use/install2/fat use/install2/stage3 \
2019-10-31 17:07:37 +03:00
use/kernel/server use/kernel/drm \
2022-10-05 17:12:08 +03:00
use/firmware/server use/firmware/cpu \
2019-07-24 19:18:59 +03:00
use/net/etcnet use/net-ssh \
2022-02-24 21:19:52 +07:00
use/stage2/ata use/stage2/fs use/stage2/hid use/stage2/md \
2021-04-06 04:19:34 +04:00
use/stage2/mmc use/stage2/net use/stage2/net-nfs use/stage2/cifs \
2023-04-17 18:16:05 +03:00
use/volumes/alt-server-v \
2019-08-20 20:54:08 +03:00
use/stage2/rtc use/stage2/scsi use/stage2/usb \
2019-10-31 17:07:37 +03:00
use/stage2/kms \
2022-04-11 20:17:11 +03:00
use/server/virt use/docs/license use/docs/manual
2019-08-16 19:24:46 +03:00
@$( call add,BASE_LISTS,server-base openssh)
2022-05-17 15:53:10 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
@$( call set,BOOTLOADER,grubpcboot)
e n d i f
2019-12-09 17:59:18 +03:00
@$( call set,BRANDING,alt-server-v)
2019-06-17 19:35:11 +03:00
@$( call set,INSTALLER,alt-server-v)
@$( call add,INSTALL2_PACKAGES,alterator-notes)
@$( 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-11-13 20:19:02 +03:00
@$( call add,INSTALL2_PACKAGES,installer-feature-quota-stage2)
2019-11-12 21:08:29 +03:00
@$( call add,INSTALL2_PACKAGES,fonts-ttf-google-croscore-arimo)
2019-11-13 21:38:36 +03:00
@$( call add,INSTALL2_PACKAGES,ntfs-3g)
@$( call add,INSTALL2_BRANDING,bootloader bootsplash notes slideshow)
2022-04-11 20:17:11 +03:00
@$( call add,THE_BRANDING,alterator)
@$( call add,THE_BRANDING,indexhtml)
2019-09-26 20:49:20 +03:00
@$( call add,THE_PACKAGES,alterator-fbi alterator-notes)
2019-09-26 19:58:50 +03:00
@$( call add,THE_LISTS,$( call tags,basesystem alterator) )
2019-07-24 19:22:13 +03:00
@$( call add,THE_LISTS,$( call tags,server alterator) )
2019-11-13 20:57:49 +03:00
@$( call add,THE_LISTS,$( call tags,server network) )
2019-06-17 19:35:11 +03:00
@$( call add,COMMON_PACKAGES,vim-console)
2019-11-12 21:10:02 +03:00
@$( call add,SYSTEM_PACKAGES,mdadm-tool lvm2 multipath-tools fdisk xfsprogs btrfs-progs file)
2019-08-16 19:24:46 +03:00
distro/server-v : distro /.server -v -base +installer \
use/ntp/chrony \
use/install2/net use/install2/autoinstall \
2022-05-18 18:57:40 +03:00
use/apt-conf/branch use/install2/repo \
use/vmguest
2019-08-30 22:14:58 +03:00
@$( call add,RESCUE_BOOTARGS,nomodeset vga = 0)
2022-07-05 20:03:18 +03:00
@$( call add,STAGE2_BOOTARGS,mpath)
2024-04-02 19:52:45 +03:00
@$( call set,IMAGE_FLAVOUR,$( subst alt-$( DISTRO_VERSION) -,,$( IMAGE_NAME) ) )
@$( call set,META_VOL_ID,ALT Server-V $( DISTRO_VERSION) $( ARCH) )
2019-08-16 19:24:46 +03:00
@$( call set,META_PUBLISHER,BaseALT Ltd)
@$( call set,META_VOL_SET,ALT)
2024-04-02 19:52:45 +03:00
@$( call set,META_APP_ID,ALT Server-V $( DISTRO_VERSION) $( ARCH) $( shell date +%F) )
2019-12-09 17:59:18 +03:00
@$( call set,DOCS,alt-server-v)
2019-06-17 19:35:11 +03:00
@$( call add,BASE_LISTS,virt/base.pkgs)
2019-08-12 20:00:27 +03:00
@$( call add,MAIN_LISTS,virt/extra.pkgs)
2019-08-15 18:54:38 +03:00
@$( call add,MAIN_GROUPS,server-v/110-opennebula $( opennebula) )
2019-11-21 21:34:51 +03:00
i f e q ( , $( filter -out x 86_ 64 aarch 64,$ ( ARCH ) ) )
2020-07-06 14:55:19 +03:00
@$( call add,MAIN_GROUPS,server-v/130-pve server-v/pve server-v/linstor/pve-storage)
2019-07-20 11:46:46 +03:00
e n d i f
2019-08-15 18:54:38 +03:00
@$( call add,MAIN_GROUPS,server-v/140-basic server-v/kvm)
2019-07-10 18:45:33 +03:00
@$( 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) )
@$( call add,MAIN_GROUPS,server-v/450-nfs $( nfs) )
@$( call add,MAIN_GROUPS,server-v/460-iscsi $( iscsi) )
2020-07-05 03:28:19 +03:00
@$( call add,MAIN_GROUPS,server-v/470-linstor $( linstor) )
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-08-19 19:01:30 +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)
2022-01-13 14:40:21 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,docker lxd crio kubelet kube-proxy)
2019-07-24 22:08:17 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,bind mysqld openvswitch)
@$( call add,DEFAULT_SERVICES_ENABLE,rsyslogd 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)
2020-05-27 14:23:21 +03:00
@$( call add,DEFAULT_SERVICES_ENABLE,pve-manager pve-cluster pveproxy pvedaemon pvestatd \
pve-firewall pvefw-logger pve-guests pve-ha-crm pve-ha-lrm spiceproxy \
2023-01-02 00:44:34 +03:00
lxc lxcfs lxc-net lxc-monitord qmeventd pvescheduler pve-lxc-syscalld)
2022-07-05 20:03:18 +03:00
@$( call add,SERVICES_ENABLE,multipathd)
2024-03-01 19:33:51 +03:00
# Instead of installer-feature-sudo-enable-by-default:
# @$(call add,CONTROL,sudoers:relaxed)
# @$(call add,CONTROL,sudowheel:enabled)
2019-06-17 19:35:11 +03:00
2019-08-15 18:54:38 +03:00
# @$(call add,MAIN_GROUPS,server-v/141-cockpit $(cockpit))
2019-10-21 19:57:11 +03:00
# @$(call add,MAIN_GROUPS,server-v/430-moosefs $(moosefs))
# @$(call add,MAIN_GROUPS,server-v/ocfs2)
# @$(call add,MAIN_GROUPS,server-v/120-openstack $(openstack))
#ifeq (,$(filter-out x86_64,$(ARCH)))
# @$(call add,MAIN_GROUPS,server-v/openvz)
#endif
2019-06-17 19:35:11 +03:00
e n d i f