-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
72 lines (47 loc) · 1.55 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
68
69
70
71
72
##################
# BUILD SPECIFIC #
##################
# define the image name
IMAGE_NAME=nuvlabox-os-base
# make sure all the necessary stages are included,
# and ordered by execution, from first to be executed to last
#
# Please separate the different stages with a white space
# IMPORTANT: _bootstrap is mandatory for the NuvlaBox OS
STAGE_BUNDLES="_bootstrap"
# select the desired architecture
ARCHITECTURE=amd64
# change reported architecture in new bootstraped environment
# it needs to be compatible with:
#
# setarch --list
SETARCH_ARCHITECTURE=linux64
# Debian release to be used
RELEASE=buster
# DEBIAN mirror
MIRROR=https://deb.debian.org/debian/
# additional arguments for qemu-debootstrap if needed
#DBOOTSTRAP_EXTRA_ARGS=""
###########
# GENERIC #
###########
# hostname for the resulting OS
TARGET_HOSTNAME=nuvlabox-os
# where to build the new image
WORKDIR="$(pwd)/output/$(date +'%Y%m%d_%H%M%S')/${IMAGE_NAME}"
# path to log file where to keep track of the build progress
LOG_FILE="${WORKDIR}/output.log"
# where to mount the new filesystem (in case you are using debootstrap)
ROOTFS="${WORKDIR}/rootfs"
# in development mode, a default user shall be created
# default is 0 (false)
#
# default user:pass is -> sixsq:nuvlabox
DEVELOPMENT=0
# dbootstrap creates a full filesystem, which means it's suited for Live images
# in case we need an installer, to flash an hard drive, then we don't use debootstrap
# the current available OS build methods are:
# - debootstrap
# - simple-cdd
# default is debootstrap
#BUILD_WITH=debootstrap