-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.sh.buildserver
35 lines (27 loc) · 988 Bytes
/
env.sh.buildserver
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
#!/usr/bin/env bash
# customize these
export NEWUSER=user
export NEWHOSTNAME=buildserver.local
# uncomment if you have a cache folder or server
#export [email protected]:./.apt-cache
# for nullmailer, it is advised to not use your personal account
# but create a separate account just for system status emails
#export GMAIL_USER=
#export GMAIL_PASSWORD=
# server or desktop install
export INSTALL_TYPE=server
#export INSTALL_TYPE=desktop
# disks to use for zfs root pool
export DISKS="/dev/sda"
export ZFS_ROOT_POOL=system
# zfs root raid usually is "" for 1 disk, mirror for more
#export ZFS_ROOT_ZRAID=mirror
# comment size to use whole disk
#export ZFS_ROOT_SIZE=100G
# comment to not create data pool
#export ZFS_DATA_POOL=userdata
# zfs data raid can be "" for 1 disk, or for more disks: "", mirror, raidz, raidz2, raidz3
#export ZFS_DATA_ZRAID=mirror
# don't touch below
export UBUNTU_CODENAME=$(lsb_release -c -s)
export DEBIAN_FRONTEND=noninteractive