This repository has been archived by the owner on Mar 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
67 lines (58 loc) · 2.35 KB
/
config
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
#!/usr/bin/env bash
# -*- ENCODING: UTF-8 -*-
##
## @author Raúl Caro Pastorino
## @copyright Copyright © 2018 Raúl Caro Pastorino
## @license https://wwww.gnu.org/licenses/gpl.txt
## @email dev@fryntiz.es
## @web https://fryntiz.es
## @gitlab https://gitlab.com/fryntiz
## @github https://github.com/fryntiz
## @twitter https://twitter.com/fryntiz
##
## Guía de estilos aplicada:
## @style https://gitlab.com/fryntiz/bash-guide-style
############################
## INSTRUCCIONES ##
############################
## Archivo de configuración con las constantes utilizadas durante el
## proceso de instalación y configuración de GNU/Linux Gentoo
############################
## GLOBAL ##
############################
WORKSCRIPT=$PWD ## Directorio principal del script
USER=$(whoami) ## Usuario que ejecuta el script
VERSION='0.0.1' ## Primera versión del script
LOGERROR='/tmp/installerErrors.log' ## Archivo donde almacenar errores
############################
## USUARIO ##
############################
USUARIO='usuario' ## Nombre del usuario a crear
############################
## RED ##
############################
HOSTNAME='localhost' ## Nombre del EQUIPO
DOMAIN='local' ## Nombre del dominio
############################
## PARTICIONES ##
############################
BOOT='/dev/sdXX' ## Partición BOOT de 1GB
RAIZ='/dev/sdXX' ## Partición Raíz de más de 10GB
SWAP='/dev/sdXX' ## Partición SWAP
JAULA='/mnt/gentoo' ## Lugar donde montar el entorno chroot
HDROOT='hdX,X' ## Partición raíz / en nomenclatura hd0,1
LUKSNAME='LUKSGENTOO' ## Nombre de la partición RAIZ cifrada
############################
## STAGE 3 ##
############################
SYSTEMD=true ## Indica si se instalará con systemd el stage3
STAGE3='stage3-amd64-20180828T214505Z.tar.xz'
RUTASTAGE3="http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64/$STAGE3"
STAGE3SYSTEMD='stage3-amd64-systemd-20180827.tar.bz2'
RUTASTAGE3SYSTEMD="http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64-systemd/$STAGE3SYSTEMD"
############################
## LOCALE ##
############################
KEYMAP="es"
LOCALIZATION='es_ES.UTF-8'
ZONE='Europe/Madrid'