blob: 845b0b8d1e64bb86f22f3612f7e86de8aa6c2ef4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#!/bin/sh
site=myhomelab
domain=idm.example.com
email_domain=example.com
locale=en_US.UTF-8
ntp_pools='pool.ntp.org'
root_password=changeme
root_authorized_keys='ssh-ed25519 changeme
ssh-ed25519 changeme'
root_mail_alias="you@${email_domain}"
smtp_host_ip=1.2.3.4
timezone=America/New_York
# hostname id ipv4
idm_server_list="\
idm1 1 1.2.3.4
idm2 2 5.6.7.8"
reverse_dns_zones="0.168.192.in-addr.arpa 12.11.10.in-addr.arpa"
###############################################################################
# Variables following this line do not (generally) need to be changed.
###############################################################################
nproc=$(nproc)
allowed_tcp_ports=ssh
bootstrap_resolvers='1.1.1.1'
desktop_type=kde
fqdn="${BOXCONF_HOSTNAME}.${domain}"
graphics_type=intel
idm_admin_username='s-boxconf'
idm_admin_uid='20000'
idm_admin_groupname='sysadmins'
idm_admin_gid='30000'
nslcd_min_uid=1000
nscd_ttl=600
nscd_negative_ttl=20
smtp_host="smtp.${domain}"
ssh_authzkeys_user=_authzkeys
tcp_buffer_size=2097152 # suitable for 1 GigE
nginx_nofile=2048
nginx_worker_connections=768
if $(( nproc > 4 )); then
nginx_worker_processes=4
else
nginx_worker_processes=$nproc
fi
|