summaryrefslogtreecommitdiff
path: root/autoinstall/heisenburg-33-empty.cfg
blob: 7cef4120f39f85a643446214687e827c5ebe6850 (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
lang en_US.UTF-8
keyboard us
timezone --utc Europe/Zurich
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

%packages --default
%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
EOF
chmod 700 /root/.ssh
chmod 600 /root/.ssh/authorized_keys
%end