|
Re: Which fles contains IPs? [message #51168 is a reply to message #51163] |
Fri, 28 February 2014 12:44 |
Paparaciz
Messages: 302 Registered: August 2009
|
Senior Member |
|
|
use vzctl
p.s. please take more time to read wiki, documentation. find answer by yourself. it's quite strange to see such and other your questions from servers provider (as you advertising).
|
|
|
|
Re: Which fles contains IPs? [message #51179 is a reply to message #51178] |
Sun, 02 March 2014 03:13 |
dipps
Messages: 22 Registered: May 2013 Location: Out in the scrub
|
Junior Member |
|
|
vzctl does edit startup files inside the container as well as /etc/vz/VEID.conf. really, it's the easy way to do it.
vzctl set VEID --ipdel OLD_IP --save
vzctl set VEID --ipadd NEW_IP --save
If you must edit files to change the IP, it will probably work if you shut down the VE, edit IP in etc/vz/VEID.conf, then start the container. But please test it.
For websites and named, of course you'll have to edit the configs, vzctl doesn't do that
[Updated on: Sun, 02 March 2014 03:22] Report message to a moderator
|
|
|
|