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
|
|
|