2013-06-19 16:52:02 +04:00
i f e q ( v e , $( IMAGE_CLASS ) )
# no "vzctl enter"
2015-02-25 18:50:27 +03:00
ve/bare : ve /.base +sysvinit ; @:
2013-06-19 16:52:02 +04:00
# /dev/pty and friends start here
2017-02-01 20:02:30 +03:00
ve/base : ve /bare use /net -dns /level 3
2013-06-19 16:52:02 +04:00
@$( call add,BASE_PACKAGES,interactivesystem)
2013-09-18 21:58:42 +04:00
# a particular package list
2016-08-19 17:47:36 +03:00
ve/ldv : ve /bare use /control /server /ldv
2013-09-18 21:58:42 +04:00
@$( call add,BASE_PACKAGES,xz bzip2 glibc hostinfo less)
@$( call add,BASE_PACKAGES,vim-console netlist rsync time )
@$( call add,BASE_PACKAGES,openssh-blacklist openssh-server)
@$( call add,BASE_PACKAGES,shadow-edit shadow-groups)
2014-05-05 12:59:34 +04:00
ve/docker : ve /.base use /repo ; @:
2016-12-26 16:03:06 +03:00
# build environment
2017-08-21 19:55:43 +03:00
ve/builder : ve /base use /dev /builder /base use /repo
2016-12-26 16:03:06 +03:00
@$( call add,BASE_LISTS,openssh)
2013-09-09 21:02:27 +04:00
# this should be more or less convenient
2013-09-10 16:16:59 +04:00
ve/generic : ve /base use /repo
2013-09-09 21:02:27 +04:00
@$( call add,BASE_PACKAGES,vim-console etckeeper)
2013-06-19 16:52:02 +04:00
@$( call add,BASE_LISTS,openssh \
$( call tags,base && ( server || network || security || pkg) ) )
# example of service-specific template
ve/openvpn : ve /bare
@$( call add,BASE_LISTS,$( call tags,server openvpn) )
2014-12-23 16:44:52 +03:00
ve/pgsql94 : ve /generic
@$( call add,BASE_PACKAGES,postgresql9.4-server)
2017-02-25 19:51:49 +03:00
ve/samba-DC : ve /generic
@$( call add,BASE_PACKAGES,task-samba-dc glibc-locales net-tools)
2017-04-04 13:21:50 +03:00
ve/systemd-bare : ve /.base use /net /networkd +systemd \
use/control/sudo-su use/repo use/net-ssh
2015-02-25 18:50:27 +03:00
@$( call add,BASE_PACKAGES,interactivesystem su)
2013-06-19 16:52:02 +04:00
e n d i f