2011-10-31 14:40:02 +04:00
# server distributions
i f e q ( d i s t r o , $( IMAGE_CLASS ) )
2012-03-30 23:41:19 +04:00
distro/.server-base : distro /.installer use /syslinux /ui /menu use /memtest
2011-10-31 14:40:02 +04:00
@$( call add,BASE_LISTS,server-base)
2012-04-01 21:50:38 +04:00
distro/server-nano : distro /.server -base \
use/cleanup/x11-alterator use/bootloader/lilo
@$( call add,BASE_LISTS,$( call tags,server network) )
@$( call add,BASE_PACKAGES,dhcpcd cpio)
2012-03-13 00:07:18 +04:00
distro/server-mini : distro /.server -base use /cleanup /x 11-alterator
2011-10-31 14:40:02 +04:00
@$( call set,KFLAVOURS,el-smp)
2011-12-19 23:28:42 +04:00
@$( call add,THE_KMODULES,e1000e igb)
@$( call add,STAGE1_KMODULES,e1000e igb)
2011-10-31 14:40:02 +04:00
@$( call add,BASE_LISTS,\
$( call tags,base && ( server || network || security || pkg) ) )
2012-02-06 22:15:16 +04:00
@$( call add,BASE_LISTS,$( call tags,extra ( server || network) ) )
2011-10-31 14:40:02 +04:00
2012-06-07 17:22:44 +04:00
distro/server-systemd : distro /server -mini use /systemd
@$( call set,KFLAVOURS,std-def)
2011-11-12 17:08:31 +04:00
2012-04-10 22:00:30 +04:00
distro/server-ovz : distro /server -mini use /install 2/net use /hdt use /rescue \
use/firmware/server use/firmware/wireless use/power/acpi/button
2011-10-31 14:40:02 +04:00
@$( call set,STAGE1_KFLAVOUR,std-def)
@$( call set,KFLAVOURS,std-def ovz-el)
2011-12-19 23:28:42 +04:00
@$( call add,BASE_KMODULES,rtl8168 rtl8192)
@$( call add,MAIN_KMODULES,ipset ipt-netflow opendpi pf_ring xtables-addons)
@$( call add,MAIN_KMODULES,drbd83 kvm)
2011-10-31 14:40:02 +04:00
@$( call add,BASE_LISTS,ovz-server)
@$( call add,MAIN_GROUPS,dns-server http-server ftp-server kvm-server)
@$( call add,MAIN_GROUPS,ipmi mysql-server dhcp-server mail-server)
@$( call add,MAIN_GROUPS,monitoring diag-tools)
2011-11-20 00:05:11 +04:00
# tiny network-only server-ovz installer (stage2 comes over net too)
distro/server-ovz-netinst : distro /.base sub /stage 1 use /stage 2 \
2012-03-30 23:41:19 +04:00
use/syslinux/ui/menu use/syslinux/localboot.cfg use/memtest
2011-11-20 00:05:11 +04:00
@$( call add,SYSLINUX_CFG,netinstall2)
2011-10-31 14:40:02 +04:00
e n d i f