Kiedy wykonam:
Kod: Zaznacz cały
root@vz:/etc/init.d# vzctl set 1 --ipadd 192.168.1.11 --save
Warning: configuration file for distribution debian6x86 not found, using defaults from /etc/vz/dists/default
Adding IP address(es): 192.168.1.11
/bin/bash: line 595: /etc/init.d/network: No such file or directory
Saved parameters for CT 1
root@vz:/etc/init.d#
Kod: Zaznacz cały
root@vz:/etc/init.d# vzlist
CTID NPROC STATUS IP_ADDR HOSTNAME
1 10 running 192.168.1.10 debvz1
root@vz:/etc/init.d#
Kod: Zaznacz cały
root@vz:/etc/init.d# ping 192.168.1.10
PING 192.168.1.10 (192.168.1.10) 56(84) bytes of data.
^C
--- 192.168.1.10 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1008ms
root@vz:/etc/init.d# ping 192.168.1.11
PING 192.168.1.11 (192.168.1.11) 56(84) bytes of data.
^C
--- 192.168.1.11 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
root@vz:/etc/init.d#
Martwi mnie
Kod: Zaznacz cały
/etc/init.d/network: No such file or directoryTo jest Debian 6 i szablon też w wersji też 6, czyli:
http://download.openvz.org/template/pre ... x86.tar.gz