README.md 1.2 KB
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

9
10
11
12
13
14
15
16
17
18
19
* Wait for this screen:
![State before pressing `<Ctrl>+5`](doc-images/reboot.png "State before pressing `<Ctrl>+5`")

* press `<Ctrl>+5` to disconnect from the console once the bootstrapping is finished, be patient before the next step

![State on bootstrapping finished](doc-images/reboot_finished.png "State on bootstrapping finished")

* confirm successful creation with the `y`-key

![State on installation completed](doc-images/completed.png "State on installation completed")

20

21
Chef Bootstrapping (on your workstation)
Server Team's avatar
Server Team committed
22
========================================
Server Team's avatar
Server Team committed
23

24
* make sure you are connected to the VPN
25
26
* switch to Chef directory
* run the script supplying the server number:
Steffen Gebert's avatar
Steffen Gebert committed
27
```shell
28
    # sh bootstrap.sh 144
Steffen Gebert's avatar
Steffen Gebert committed
29
```
Peter Niederlag's avatar
Peter Niederlag committed
30
31
32
33

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

34
Feel free to customize the machine in `/etc/libvir/qemu/*.xml` files and tools.
Peter Niederlag's avatar
Peter Niederlag committed
35
36


37
Update Config (on the server)
Peter Niederlag's avatar
Peter Niederlag committed
38
39
=====================================

40
Optional (should not be required during daily operations)
Peter Niederlag's avatar
Peter Niederlag committed
41
42
43

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

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