Difference between revisions of "Debian sarge"
RobFantini (talk | contribs) |
RobFantini (talk | contribs) |
||
Line 34: | Line 34: | ||
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 .. | ||
[[Category: Debian]] | [[Category: Debian]] |
Revision as of 00:47, 25 March 2010
- 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.
aptitude install debootstrap
- I used '599' as the container number. of course you'd want to pick an unused number.
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
- 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 ..