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

4
* create a default VM, attached to private network:
Steffen Gebert's avatar
Steffen Gebert committed
5
```shell
6
    # virt-install-debian srvXXX
Steffen Gebert's avatar
Steffen Gebert committed
7
```
Server Team's avatar
Server Team committed
8

Peter Niederlag's avatar
Peter Niederlag committed
9
10
* press <strg>+5 to disconnect from the console once the boostrapping is finished, be patient before the next step
* confirm succesfull creation with <y>-key
11

12
Chef Bootstrapping (on your workstation)
Server Team's avatar
Server Team committed
13
========================================
Server Team's avatar
Server Team committed
14

15
* make sure you are connected to the VPN
Peter Niederlag's avatar
Peter Niederlag committed
16

Steffen Gebert's avatar
Steffen Gebert committed
17
```shell
Steffen Gebert's avatar
Steffen Gebert committed
18
    knife bootstrap --bootstrap-version 12.5.1 -E production -r "recipe[t3-base]" --ssh-user=root \
19
     -N srvXXX.typo3.org 10.186.2.yyy
Steffen Gebert's avatar
Steffen Gebert committed
20
```
Peter Niederlag's avatar
Peter Niederlag committed
21
22
23
24

Customisation of virtual machine
=====================================

25
Feel free to customize the machine in /etc/libvir/qemu/*.xml files and tools.
Peter Niederlag's avatar
Peter Niederlag committed
26
27


28
Update Config (on the server)
Peter Niederlag's avatar
Peter Niederlag committed
29
30
=====================================

31
Optional (should not be required during daily operations)
Peter Niederlag's avatar
Peter Niederlag committed
32
33
34

* edit variables in `/root/machine.conf`

35
Read the source of the shell script for further details.