[linux-neuchatel] Re: Question à propos de la doc du cours openvz

Marc SCHAEFER schaefer at alphanet.ch
Fri Jan 9 17:05:41 CET 2009


On Fri, Jan 09, 2009 at 11:20:23AM +0100, Dominique MULLER wrote:
> # copier la configuration attachée à ce topic dans
> /etc/default/openvz-support
>
> Oû se trouve la config attachée ?

Effectivement :)

la voici:

# This will be sourced!
SERVER=`ifconfig eth0 | grep 'inet addr' | awk -F : '{print $2;}' | sed 's/ .*//'`
NS=192.168.1.1
VZNET=192.168.100
FIRST_VZ=100
LAST_VZ=109

# By default expects to create an amd64 OpenVZ host running
# amd64 VZs. But you can change this, either globally or
# through --arch in vz--instanciate or create-template
ARCH=i386
WHAT=minimal

CONFIG=standard

KERNEL_VERSION=2.6.18
KERNEL_REVISION=local-`date --iso`
KERNEL_APPEND_TO_VERSION=+openvz
KERNEL_PATCHES="openvz"
KERNEL_MAKE_KPKG_ADDITIONAL_ARGUMENTS=

# .config patching, only if doesn't contain KERNEL_DOTCONFIG_DONE_MARK yet
KERNEL_DOTCONFIG_PATCH=/usr/lib/openvz-support/patches/dotconfig-patch
KERNEL_DOTCONFIG_DONE_MARK="^# OpenVZ"

# two processors for compilation
CONCURRENCY_LEVEL=1

# Debian modules (with m-a build) -- subsystems
KERNEL_ADDITIONAL_MODULES=
KERNEL_M_A_FLAGS="-t -f"

# scripts named MODULE.post-prep might be executed (e.g. for patching)
# if they exist.
KERNEL_M_A_POST_PREPARE_SCRIPT_DIR=/usr/src/m-a-PREPARE

# Debian doesn't like - there
KERNEL_REVISION=${KERNEL_REVISION//-/.}




More information about the linux-neuchatel mailing list