README.md 708 Bytes
Newer Older
Server Team's avatar
Server Team committed
1
2
3
On server
==============

Server Team's avatar
Server Team committed
4
edit /root/machine.conf and update variables
Server Team's avatar
Server Team committed
5

Steffen Gebert's avatar
Steffen Gebert committed
6
```shell
Server Team's avatar
Server Team committed
7
8
9
# kick installation
virt-install-debian

Server Team's avatar
Server Team committed
10
11
export DOMAIN=srvXXX

Server Team's avatar
Server Team committed
12
# login and create /root/.ssh
Server Team's avatar
Server Team committed
13
# install curl (until its part of base install)
Server Team's avatar
Server Team committed
14

Server Team's avatar
Server Team committed
15
# shutdown
Server Team's avatar
Server Team committed
16
virsh shutdown $DOMAIN
Server Team's avatar
Server Team committed
17
18

# copy ssh-keys of admins into machine
Server Team's avatar
Server Team committed
19
virt-copy-in -d $DOMAIN authorized_keys /root/.ssh/
Server Team's avatar
Server Team committed
20

Server Team's avatar
Server Team committed
21
# start again
Server Team's avatar
Server Team committed
22
23
24
25
virsh start $DOMAIN

# set domain to autostart
virsh autostart $DOMAIN
Steffen Gebert's avatar
Steffen Gebert committed
26
```
Server Team's avatar
Server Team committed
27

Steffen Gebert's avatar
Steffen Gebert committed
28
Chef Bootstrapping (On Your Workstation)
Server Team's avatar
Server Team committed
29
========================================
Server Team's avatar
Server Team committed
30

Steffen Gebert's avatar
Steffen Gebert committed
31
32
    knife bootstrap --bootstrap-version 12.5.1 -N srvXXX.typo3.org -E production -r "recipe[t3-base]" -E production --ssh-user=root 46.4.xxx.yyy
    # cleanup root/.ssh/authorized_keys