Repository navigation
Expand file tree
/
Copy pathinstall_constants
More file actions
71 lines (58 loc) · 2.98 KB
/
Copy pathinstall_constants
File metadata and controls
71 lines (58 loc) · 2.98 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
HOSTNAME='debian' # Cannot be left empty
ADMIN_USERNAME='administrator'
ADMIN_PASSWORD='test' # Cannot be left empty
USER_USERNAME='test'
USER_PASSWORD='' # Can be left empty
TIMEZONE='America/Chicago'
ENABLE_WIFI='y' # set to 'n' for systems using only ethernet
# Manually partition with cfdisk, then update partition names here
#
DISK="/dev/vda"
EFI_PARTITION="/dev/vda1" # 1GB (EFI system)
BOOT_PARTITION="/dev/vda2" # 1GB (Linux filesystem)
ROOT_PARTITION="/dev/vda3" # Atleast 10GB for installing system packages (Linux filesystem)
HOME_PARTITION="/dev/vda4" # Remaining space for user packages (Linux filesystem)
# Use a raid array for your home partition. $HOME_PARTITION above will be
# ignored if the variables below are uncommented and populated correctly.
#
# Raid 1 is the only tested configuration, but other raid levels should work
# as they are just being passed into the mdadm command directly.
#
#RAID_ARRAY_DEVICE='/dev/md0' # Only change if you know what you're doing
#RAID_LEVEL='1'
#RAID_PARTITIONS=(/dev/sda1 /dev/sdb1)
# Setting to 'n' is useful for reinstalling your system to fix any potential
# issues or upgrading between major versions, without wiping out any user data
#
OVERWRITE_HOME_PARTITION='n' # 'y' overwrites, 'n' uses existing
# SKIP_INSTALLING_PACKAGES='y' is what OVERWRITE_ROOT_PARTITION='n' would've
# been. While the root partition is largely overwritten, it's just not formatted
# causing total deletion of all data, like packages.
#
# 'y' means no packages are installed (other than a few basics).
# Useful when you want to use the installer to change your password, hostname,
# etc, or you want to add a new luks encryption method. Saves time not
# reinstalling gnome and all the other large packages.
SKIP_INSTALLING_PACKAGES='n' # cannot be left empty
# Leave both empty for no encryption, set one for a single method of encryption,
# or set both to use the keyfile as a primary method of encryption, and the password
# as a secondary emergency backup method (from a live environment, no prompt on boot)
#
# If reinstalling with OVERWRITE_HOME_PARTITION='n' and you only have home currently
# encrypted with a luks keyfile partition, you can populate the LUKS_PASSWORD field
# and that passphrase will be added to both the home and root luks partitions. Vice
# versa if you have an existing luks password set, you can add a new LUKS_KEYFILE_PARTITION.
LUKS_KEYFILE_PARTITION=""
LUKS_PASSWORD=""
# If using both decryption methods, use the keyfile at boot, and the password
# as an emergency backup method (from a live environment, no prompt on boot).
# * Or set USE_KEYFILE_AT_BOOT='n' to do the oppposite
USE_KEYFILE_AT_BOOT='y'
# Leave empty for no swap. Uses root partition space, so be mindful of size
SWAP_SIZE_IN_GB='4'
# Useful in large deployments, change value accordingly
#APT_CACHE_SERVER="http://192.168.8.190:3142/"
#APT_CACHE_FILE="/etc/apt/apt.conf.d/10proxy"
# Leave empty or comment out for a headless install
# - Supported values: 'gnome'
DESKTOP_ENVIRONMENT='gnome'