Debian sarge

From OpenVZ Linux Containers Wiki

Jump to: navigation, search
Yellowpin.svg Note: this article is not formatted according to this Wiki standards. Please help reformatting it in a better way.
aptitude  install debootstrap
debootstrap --arch i386  sarge /var/lib/vz/private/599  http://archive.debian.org/debian
> /etc/vz/conf/599.conf
vzctl set 599 --applyconfig pve.auto --save
 Saved parameters for CT 599


echo "OSTEMPLATE=debian-3.1" >> /etc/vz/conf/599.conf
vzctl set 599 --ipadd 10.100.100.144 --save
vzctl set 599 --nameserver 10.100.100.2 --save
vzctl start 599

Starting container ...
Initializing quota ...
Container is mounted
Adding IP address(es): 10.100.100.144
Setting CPU units: 250
Configure meminfo: 7680
File resolv.conf was modified
Container start in progress...
vzctl enter 599
vzctl set 599 --applyconfig pve.auto --save

to solve the issue I copied a working Debian Etch conf file from /etc/vz/conf to 599 and made a few changes..

I'll look around to try to find a conf template to use ..

Warning.svg Warning: The above UBC values might not be consistent; see UBC consistency check.
# PVE default config for 256MB RAM                                                         
ONBOOT="yes"

# Primary parameters
NUMPROC="1024:1024" 
NUMTCPSOCK="9223372036854775807:9223372036854775807"
NUMOTHERSOCK="9223372036854775807:9223372036854775807"
VMGUARPAGES="131072:9223372036854775807"              

# Secondary parameters
KMEMSIZE="9223372036854775807:9223372036854775807"
OOMGUARPAGES="131072:9223372036854775807"         
PRIVVMPAGES="131072:143572"                       
TCPSNDBUF="9223372036854775807:9223372036854775807"
TCPRCVBUF="9223372036854775807:9223372036854775807"
OTHERSOCKBUF="9223372036854775807:9223372036854775807"
DGRAMRCVBUF="9223372036854775807:9223372036854775807" 

# Auxiliary parameters
NUMFILE="9223372036854775807:9223372036854775807"
NUMFLOCK="9223372036854775807:9223372036854775807"
NUMPTY="255:255"
NUMSIGINFO="1024:1024"
DCACHESIZE="9223372036854775807:9223372036854775807"
LOCKEDPAGES="65536:65536"
SHMPAGES="9223372036854775807:9223372036854775807"
NUMIPTENT="9223372036854775807:9223372036854775807"
PHYSPAGES="0:9223372036854775807"

# Disk quota parameters
DISKSPACE="2097152:2306867"
DISKINODES="400000:440000"
QUOTATIME="0"
QUOTAUGIDLIMIT="0"

# CPU fair sheduler parameter
CPUUNITS="1000"
CPUS="1"
VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="debian-3.1"
ORIGIN_SAMPLE="pve.auto"
IP_ADDRESS="10.100.100.145"
HOSTNAME="fbc145.fantinibakery.com"
NAMESERVER="10.100.100.2"
SEARCHDOMAIN="fantinibakery.com"
Personal tools
Namespaces
Variants
Actions
Navigation
Sites
Toolbox