Hi !
I'm trying to change the IP address for a CT made with vzdump.
This is what I got :
vzctl set 101 --ipdel all --save
...
Adding IP address(es):
bash: line 575: ./ifup-aliases: No such file or directory
Saved parameters for VE 101
vzlist
VEID NPROC STATUS IP_ADDR HOSTNAME
101 26 running - xxxx.xxxxxxx.com
Then, i do :
vzctl set 101 --ipadd 193.37.145.79 --save
Adding IP address(es): 193.37.145.79
bash: line 575: ./ifup-aliases: No such file or directory
Saved parameters for VE 101
vzlist
VEID NPROC STATUS IP_ADDR HOSTNAME
101 26 running 193.37.145.79 xxxxx.xxxxxxxx.com
Inside the CT, the IP address seems to be changed in the /etc/hosts (for example), but if i do a ifconfig the CT has the old IP address :
cat /etc/hosts
...
# Auto-generated hostname. Please do not remove this comment.
193.37.145.79 xxx.xxxxx.com xxxx
ifconfig
...
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:193.37.145.27 P-t-P:193.37.145.27 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
I'm using Debian Lenny 64 :
Thanks for your help !