I installed OpenVZ kernel and utils under Centos5 guest in VirtualBox (running under WinXP) tonight, following the installation guide.
To install Debian 4.0-x86 guest using OpenVZ:
cd /vz/template/cache
wget http://download.openvz.org/template/precreated/debian-4.0-x86.tar.gz
vzctl create 101 –ostemplate debian-4.0-x86
vzctl set 101 –ipadd 10.0.2.18 –save
vzctl set 101 –nameserver 10.0.2.3 –save
vzctl start 101
vzctl exec 101 ps ax
vzctl enter 101
ipup venet0:0
/etc/network/interfaces:15: interface lo declared allow-auto twice
ifup: couldn’t read interfaces file “/etc/network/interfaces”
To temporarily fix above: comment out lines 15-16 in file “/etc/network/interfaces”.
To permanently fix above: comment out all lines in file “/etc/network/interfaces.template”
/etc/init.d/networking start