-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.yml
117 lines (110 loc) · 3.66 KB
/
setup.yml
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
## This file specifies the details of the wanted system
## such as admin user, disk info and other configurations
## Comments will be commented using double '#' for ease of editing
#
## Please read the options that you are going to choose before editing the file
## and running the script
#
## System section ##
## hostname - the name of the machine
## desktop_environment - what desktop environment to install (supported: 'kde', 'gnome, 'xfce')
## if you want to install only a server like system specify 'server' as
## the desktop_environment (in this case the desktop packages will not be installed
## even if they are specified in the 'to_install' section)
#
## Disk section ##
## auto_allocate - whether to use the script to fully partition a disk (erase all the disk's data)
## path - the path to the device you want to act on
## partitions - the information about the partitions, in case you chose to auto auto_allocate then
## you need to specify the size of each one
## in case you chose to act on aleardy existing partitions the you need to specify
## the path to each one (can be on different devices)
## Note:
## the way you specify partitions to auto_allocate needs to look somthing like:
## disk:
## auto_allocate: 'true'
## path: '/dev/sda'
## partitions:
## boot:
## size: '+500M'
## swap:
## size: '+2G'
## root:
## size: '+20G'
## home:
## size: '-0'
## encrypted: 'false'
##
## the way you specify partitions that already exist needs to look somthing like:
## disk:
## auto_allocate: 'false'
## partitions:
## boot:
## partition: '/dev/sda1'
## swap:
## partition: '/dev/sda2'
## root:
## partition: '/dev/sda3'
## home:
## partition: '/dev/sda4'
## encrypted: 'false'
#
## Disk - boot section ##
## the boot partition is optional, its responsible on loading the system on start. if not specified
## the script will not create it but you will not be able to load the system if you don't aleardy
## have a boot partition
#
## Disk - swap section ##
## the swap partition is optional, its responsible on using storage as RAM when needed. if not
## specified then the script will not create it.
#
## Disk - root section ##
## the root partition is not optional, its the partition that holds all the system files and
## programs and incase you don't have a home partition its also the place all the users are stored
#
## Disk - home section ##
## the home partition is optional, its the partition that holds all the users. its good to have it
## to keep your information seperate from the rest of the system so you can easily switch systems
## and not be afraid or to encrypt the users information (the script supports LUKS encryption)
#
## Disk - encryption section ##
## in case you have specified a home partition and you want to encrypt it, you need to specify
## encrypted: 'true' under the home partition
## and you need to specify a passphrase so somthing like:
## encrypted: 'true'
## passphrase: '1234'
system:
hostname: "admin-machine"
desktop_environment: 'kde'
root_user:
password: '1234'
admin_user:
name: 'admin'
password: '1234'
disk:
auto_allocate: 'true'
path: '/dev/sda'
partitions:
boot:
size: '+500M'
swap:
size: '+2G'
root:
size: '+20G'
home:
size: '-0'
encrypted: 'false'
## Next two are optional
#to_install:
# term:
# utils: 'true'
# dev: 'true'
# desk:
# utils: 'true'
# dev: 'true'
# creative: 'true'
# office: 'true'
#advenced:
# kernel: 'linux'
# copy_log_to_machine: 'true'
# install_vm_utils: 'true'