README.md 915 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
16
17
* switch to Chef directory
* run the script supplying the server number:
Steffen Gebert's avatar
Steffen Gebert committed
18
```shell
19
    # sh bootstrap.sh 144
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.