Inserting VZGOT development tree within GIT
[safe/jmp/vzgot] / support / vzgot_config
1 # -*-Shell-script-*-
2 #----------------------------------------------------
3 #this file define common variable needed by vzgot to
4 #start container.
5 #======================================================
6 #installation main directory
7 VZLIB=/var/lib/vzgot
8 #======================================================
9 #BRIDGENAME is the bridge interface you have configured
10 #on your site.
11 #to configure a bridge on the HOST (the hardware level)
12 #-----------------------------------------------------
13 #brctl addbr br0
14 #ifconfig br0 You_production_ip_number/mask up
15 #brctl addif br0 eth0
16 #ifconfig eth0 0.0.0.0
17 #echo 1 > /proc/sys/net/ipv4/conf/br0/proxy_arp
18 #-----------------------------------------------------
19 BRIDGENAME="br0"
20 #======================================================
21 #ETHNAME is the container interface name you want
22 #to be renamed to, usualy named eth0
23 #-----------------------------------------------------
24 #command used: if link set 'From_pid' name $ETHNAME
25 ETHNAME="eth0"
26 #======================================================
27 #CGROUP directory
28 #this the cgroup directory location mounted by command
29 #mount -t cgroup cgroup /the_directory
30 #in our default configuration directory is mount on dir "/cgroup"
31 CGROUP="/cgroup"
32 #======================================================
33 #LVM device
34 #IF SET, specify you want to use LVM (Logical Volume Management) 
35 #as device to set your virtual
36 #such setting LVM="vzvol" will make 'vzgot create' to make
37 #a localdevice named /dev/$LVM/$CONTNAME
38 #Such YOU must use vgreate to prepare your $LVM Volume group
39 #setting LVM_SIZE will override the LVM default value set in 
40 #vzgot create script.
41 #LVM=vzvol
42 LVM_SIZE=2G
43 #======================================================