OpenVZ CentOS 7 network bug

openvz network bug
openvz network bug
[dropcap]S[/dropcap]ome of you have already noticed that the network is not accessible after updating CentOS version inside the container in OpenVZ to CentOS 7. The networking is not accessible after the update. It is a known issue and it can be fixed by downgrading the initscripts rpm on the CentOS container.

The work around of this bug is given below:

1. Please login the to OpenVZ node via SSH and go to the private area of the problematic VE.

cd /vz/private/<VE_ID>/usr/local/src/

2. Download the initscripts package.


3. Then login to the container from the node.

vzctl enter <VE_ID>

4. go to the downloaded folder and install the rpm.

cd /usr/local/src/
rpm -Uvh --force initscripts-9.49.17-1.el7.x86_64.rpm

5. Restart the network.

systemctl restart network

Also, please add the initscripts package in the exclude list of “yum.conf” file to avoid the automatic update of the mentioned package.

That’s it!!

If you like the post “OpenVZ CentOS 7 network bug” and wish to receive more articles from us, please like our FB page: Button

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.

For more details on our services, please drop us an E-mail at