Statistics
| Branch: | Tag: | Revision:

root / ci / schemas / one_node / vcluster.conf @ 525f2979

History | View | Annotate | Download (1.5 kB)

1
[image]
2
# url to get the base image. This is a debian base image with preconfigured
3
# root password and installed rsa/dsa keys. Plus a NetworkManager hook that
4
# changes the VM's name based on info provided by dhcp response.
5
# To create it run: snf-deploy image
6
squeeze_image_url = https://pithos.okeanos.grnet.gr/public/832xv
7
ubuntu_image_url =
8

    
9
# in order ganeti nodes to support lvm storage (plain disk template) it will
10
# be needed an extra disk to eventually be able to create a VG. Ganeti requires
11
# this VG to be at least of 30GB. To this end in order the virtual nodes to have
12
# this extra disk an image should be created locally. There are three options:
13
# 1. not create an extra disk (only file storage template will be supported)
14
# 2. create an image of 30G in image dir (default /var/lib/snf-deploy/images)
15
#    using dd if=/dev/zero of=squeeze.disk1
16
# 3. create this image in a local VG using lvgreate -L30G squeeze.disk1 lvg
17
#    and create a symbolic link in /var/lib/snf-deploy/images
18

    
19
# Whether to create an extra disk or not
20
create_extra_disk = False
21
# lvg is the name of the local VG if any
22
lvg =
23

    
24
# OS istalled in the virtual cluster
25
os = squeeze
26

    
27

    
28
[cluster]
29
# the bridge to use for the virtual cluster
30
# on this bridge we will launch a dnsnmasq and provide
31
# fqdns needed to the cluster.
32
# In ordrer cluster nodes to have internet access, host must do NAT.
33
# iptables -t nat -A POSTROUTING -s 192.0.0.0/28 -j MASQUERADE
34
# ip addr add 192.0.0.14/28 dev auto_nodes_br
35
# To create run: snf-deploy cluster
36
bridge = auto_nodes_br