CentOS 7 OpenVZ template in PVE 3.4 issues


Active Member
Feb 26, 2009
Chennai - India & Singapore
To build a CentOS VPS from scratch refer:
Coding Tony

Used a precreated CentOS 7 template to create an OpenVZ container.
Yum update it fully
The Network gets broken.

It appears that initscripts is broken in the latest version.
v9.49.24 seems to introduce problems with network connectivity from my testing on CentOS 7 OpenVZ templates.
v9.49.17 works fine, though.
You may like to try downgrading initscripts to 9.49.17 and rebooting the VM. Connectivity should be restored then.

# rpm -qa | grep initscripts

Reverted to previous version:
wget ftp://bo.mirror.garr.it/pub/1/slc/centos/7.0.1406/os/x86_64/Packages/initscripts-9.49.17-1.el7.x86_64.rpm
rpm -Uvh --force initscripts-9.49.17-1.el7.x86_64.rpm
rm -f initscripts-9.49.17-1.el7.x86_64.rpm
systemctl restart network

Now check the install:


Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface UH 0 0 0 venet0
localhost.local UH 0 0 0 venet0
localhost UH 0 0 0 venet0
loopback U 0 0 0 venet0
default UG 0 0 0 venet0

The following links have more information:

If the venet0:0 does not start up then put in the ONBOOT=yes parameter in the /etc/sysconfig/network-scripts/ifcfg-venet0:0 file.

Affects BlueOnyx OpenVZ Template for BX5209R based on CentOS 7:

The latest Official Beta BlueOnyx 5209R OpenVZ template can be used in PVE3.4 but fails to install on the web wizard:
cd /var/lib/vz/template/cache
wget http://devel.blueonyx.it/openvz/blueonyx-5209R-CentOS7-x86_64-BX01-20150204.tar.gz
mv "blueonyx-5209R-CentOS7-x86_64-BX01-20150204.tar.gz" "blueonyx-5209R-CentOS7_BX01-20150204-1_amd64.tar.gz"
cp /etc/vz/dists/redhat-7.3.conf /etc/vz/dists/blueonyx.conf

After creating the VPS with the above template, enable the Quotas (1000) and start it.

# bzip2 already installed
yum install nano zip unzip screen yum-utils
yum update

The networking gets broken and is fixed as outlined above.

cat /etc/build

build 20150212 for a 5209R in en_US

The web install fails at wizard.php


  • etc-vz-dists_blueonyx5209R.zip
    3.6 KB · Views: 9
Last edited:


New Member
Jul 5, 2015
About BlueOnyx 5209R;

Although I think it was going well in such way. However,
after the latest yum, nobody will be able to access the container any more.

a. If using "blueonyx-5209R-CentOS7_BX01-20150204-1_amd64.tar.gz",
after restart, we are inaccessible to the container.

b. Also it is necessary "Network Status off" in blueonyx Active Monitor.
If not, we are inaccessible to the container after restart also.

The only success way in my test was;

1. mv "blueonyx-5209R-CentOS7-x86_64-BX01-20150204.tar.gz" "centos-7-blueonyx_5209R_7.0_x86_64.tar.gz"
2. pvectl create XXX centos-7-blueonyx_5209R_7.0_...
3. yum install nano zip unzip screen yum-utils ; yum update ;
4. Active Monitor -> Settings -> Move "Network Status" to off-Monitor Area
5. wget ftp://bo.mirror.garr.it/pub/1/slc/c...Packages/initscripts-9.49.17-1.el7.x86_64.rpm
6. rpm -Uvh --force initscripts-9.49.17-1.el7.x86_64.rpm
7. nano /etc/yum.conf; ## add "exclude=initscripts*" at last line.
8. yum update
9. reboot
Last edited:


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!