-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathsetup
More file actions
82 lines (54 loc) · 1.75 KB
/
setup
File metadata and controls
82 lines (54 loc) · 1.75 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
72
73
74
75
76
77
78
79
80
81
Setup notes for TurnKey TKLDev
==============================
setup and dependencies
----------------------
buildtasks ::
GH=https://github.com
git clone $GH/turnkeylinux/buildtasks /turnkey/buildtasks
apt-get install tklpatch python-pip
pip install awscli
bt-iso ::
git clone $GH/turnkeylinux/tklbam-profiles /turnkey/tklbam-profiles
tkldev-setup
bt-ec2 ::
apt-get install parted ec2metadata
pip install boto
bt-openstack ::
apt-get install parted ec2metadata mbr qemu kpartx extlinux
pip install boto
bt-vm ::
# vmware ovftool
apt-get install qemu parted kpartx grub-pc zip
bt-container ::
apt-get install cmake
bt-docker ::
apt-get install aufs-tools
bt-xen ::
apt-get install bzip2
config files
------------
buildtasks/config/build.cfg ::
VERSION=14.1
CUR_VER=14.0
CODENAME=$(lsb_release -s -c)
ARCH=$(dpkg --print-architecture)
#export VERSION_TAG=rcX
export BT_VERSION=${VERSION}${VERSION_TAG}-${CODENAME}-${ARCH}
export BT_NEW_VERSION=$BT_VERSION
export BT_CUR_VERSION=${CUR_VER}${VERSION_TAG}-${CODENAME}-${ARCH}
#Note: CUR_VER, BT_NEW_VERSION & BT_CUR_VERSION are only required
# for bt-maintence
buildtasks/config/common.cfg ::
export BT_PUBLISH_LOGS="s3://BUCKET/logs"
export BT_PUBLISH_IMGS="s3://BUCKET/images"
export BT_PUBLISH_META="s3://BUCKET/metadata"
export BT_PUBLISH_PROFILES="s3://BUCKET/profiles"
export BT_GPGKEY=A16EB94D
export BT_ISOS=/mnt/isos
export BT_BUILDS=/mnt/builds
export BT_PROFILES=/turnkey/tklbam-profiles
export BT_PRODUCTS=/turnkey/fab/products
buildtasks/config/aws.cfg ::
export AWS_ACCESS_KEY_ID="..."
export AWS_SECRET_ACCESS_KEY="..."
export AWS_SESSION_TOKEN="..."