View Single Post
  #3  
Old 26th June 2009, 15:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by kumarullal View Post
But I got stuck at
cat /dev/null > /vz/private/211/etc/network/interfaces

Since I have Centos Running, I dont have the interfaces file.
So which is the file equivalent to interfaces, in Centos
For example
the path to all the config files in Centos is
/vz/private/211/etc/sysconfig/network-scripts.
[B]Then there are number of files there.
So which is the correct file.
I haven't tried this with CentOS, but I guess it's /etc/sysconfig/network-scripts/ifcfg-eth0. According to http://wiki.openvz.org/Physical_to_container you must set
Code:
ONBOOT=no
in that file.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote