Difference between revisions of "Debian sarge"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
Line 11: 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
  

Revision as of 00:26, 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