summaryrefslogtreecommitdiff
path: root/autoinstall/maipo-33.cfg
blob: c57b44a96fa8196829fcb0c83e570067068162a8 (plain)
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
lang en_US.UTF-8
keyboard us
timezone --utc Europe/Zurich
text
skipx
auth --useshadow --enablemd5
selinux --permissive
firewall --disabled
firstboot --disabled
zerombr
clearpart --all --initlabel
autopart
rootpw --plaintext Welcome2KolabSystems
bootloader --location=mbr
services --enabled=NetworkManager --disabled=network

network --hostname=kolab.example.org

reboot

repo --name=kolab-33 --baseurl=http://obs.kolabsys.com/repositories/Kolab:/Development/RHEL_7/
repo --name=release --baseurl=http://mirror.kolabsys.com/distr/centos/7/os/x86_64/
repo --name=updates --baseurl=http://mirror.kolabsys.com/distr/centos/7/updates/x86_64/
repo --name=epel --baseurl=http://mirror.kolabsys.com/repos/epel/7/x86_64/

%packages
NetworkManager
kolab

# Allow LDAP to be used with PAM
nscd
nss-pam-ldapd
pam_ldap

# For development purposes
git
vim-enhanced

# Build requirements for pykolab
automake
autoconf
gcc
gettext
glib2-devel
intltool
python
python-icalendar
python-kolabformat
python-ldap
python-nose

# Build utilities
@fedora-packager

# Other build dependencies
binutils-devel
boost-devel
cmake
cyrus-sasl-devel
e2fsprogs-devel
gcc-c++
js-devel
libcalendaring-devel
libcurl-devel
libical-devel
libkolabxml-devel
llvm-devel
php-devel
python-devel
qt-devel
swig
uuid-devel
v8-devel
xerces-c-devel
xsd

# Development tools
php-pecl-xdebug
%end

%post
pushd /etc/systemd/system/
rm -rf default.target
ln -s /lib/systemd/system/runlevel3.target default.target
popd

# Insert SSH key
mkdir -p /root/.ssh/
cat >/root/.ssh/authorized_keys <<EOF
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCuYwrguPlzuOXUNV9AwtbduNy0Waq1crncyb8ijHNEng4SX/kMhqULK4Z6g0Go5vXFzkabmQqHvRPxi5jtTN+P80xsdqEznKETbyjiPnw56qLYERf1UvTUl41yMTgrB9M7/74cD1RnpjnMKU/KRUelWtv/xzpVvYoMsNBZlS64cCRXvrE2z7tZC2hdBKPU+6yeUSe1HVwklMzhAvCpPplN7riVO6hV4J1QCdLFpS8cScIYKBo7f6Xrt3aWOsmMr9OJx2CZiJkwYLotSkbf5VFMAsJhaSnO8UTNNEOZFkIU7My0+u2oyfQX2vuaaVaJix1gsNLW4q3bqvW5+XaNJuiZ kanarip@kanarip.com
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAt5GYn9W37F/Nnub2s9IbGNyycbpmY4Dy/NnWoo1JkCenGD1677WKglbEPGeCG9EEWy9SuJXIFJNv1GCqoBrdH2fqklCeIT1cQfEM369z4PDrKKZ+wTbgx/KRSmGctV9F6H9D8avqc8NBTZdBzl8MI3vfFqqKHbAHqI57wowDOYxLiAJX85O8g58Oc5FLi8cqetKb/yVyJTHHya79fcAYpW8latZYRpdEbl6eoIhxSTvn29qzdsFoET3D/aRSk06dVGlD26dXWxlDxI/NYeKU4bmcWTauFZCPlQzVyGTlaFe/FtRyjYZaJH7sXfErHazXkDDNBXfUcva/rzpyuXwv wickert@kolabsys.com
EOF
chmod 700 /root/.ssh
chmod 600 /root/.ssh/authorized_keys
%end