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

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

Steffen Gebert's avatar
Steffen Gebert committed
9
Chef Bootstrapping (On Your Workstation)
Server Team's avatar
Server Team committed
10
========================================
Server Team's avatar
Server Team committed
11

Steffen Gebert's avatar
Steffen Gebert committed
12
13
* When bootstrapping a publicly reachable VM
```shell
Steffen Gebert's avatar
Steffen Gebert committed
14
15
    knife bootstrap --bootstrap-version 12.5.1 -E production -r "recipe[t3-base]" --ssh-user=root \
     -N srvXXX.typo3.org 46.4.xxx.yyy
Steffen Gebert's avatar
Steffen Gebert committed
16
17
18
19
```

* When bootstrapping a VM in the private network:
```shell
Steffen Gebert's avatar
Steffen Gebert committed
20
21
    knife bootstrap --bootstrap-version 12.5.1 -E production -r "recipe[t3-base]" --ssh-gateway username@msXX.typo3.org \
      -N srvXXX.typo3.org 10.186.2.xx
Steffen Gebert's avatar
Steffen Gebert committed
22
```
Peter Niederlag's avatar
Peter Niederlag committed
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

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

Feel free to customise the machine via /etc/libvir/qemu/*.xml files and tools.


Update Config (On server)
=====================================

Optional, should not be required during daily operations

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

Read the source of the shell script for further details