Latest revision |
Your text |
Line 1: |
Line 1: |
− | {{wikify}}
| |
− |
| |
| * on proxmox-ve we need to run some Debian Sarge containers. we are using Proxmox Virtual Environment 1.5 . there are not any Sarge templates that I could find, so using info from http://wiki.openvz.org/Debian_template_creation I did this. | | * on proxmox-ve we need to run some Debian Sarge containers. we are using Proxmox Virtual Environment 1.5 . there are not any Sarge templates that I could find, so using info from http://wiki.openvz.org/Debian_template_creation I did this. |
− |
| |
− | * note at the end I had to copy an existing .conf file to make this work. so the following needs improvement. I'll try to solve the issues and then edit this page. in the mean time if you need Sarge then this may be of some use.
| |
| | | |
| aptitude install debootstrap | | aptitude install debootstrap |
Line 15: |
Line 11: |
| vzctl set 599 --applyconfig pve.auto --save | | vzctl set 599 --applyconfig pve.auto --save |
| Saved parameters for CT 599 | | Saved parameters for CT 599 |
− | | + | |
− | | |
| echo "OSTEMPLATE=debian-3.1" >> /etc/vz/conf/599.conf | | echo "OSTEMPLATE=debian-3.1" >> /etc/vz/conf/599.conf |
| | | |
Line 37: |
Line 32: |
| | | |
| vzctl enter 599 | | vzctl enter 599 |
− |
| |
− | * note. the container started and I could enter and work with it cron cli. however the vm was mis-configured from proxmox's web control pages' point of view. so i think this line needs a defferent template:
| |
− | 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 ..
| |
− |
| |
− | * this is my final working conf file. it works ok from teh web control page.
| |
− |
| |
− | {{inconsistent UBC warning}}
| |
− |
| |
− | <pre>
| |
− | # 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"
| |
− | </pre>
| |
− |
| |
− | [[Category: Debian]]
| |