Howto Openvz

Различия

Здесь показаны различия между двумя версиями данной страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
howto:howto_openvz [20.04.2017 11:03]
admin
howto:howto_openvz [20.05.2019 15:18] (текущий)
Строка 19: Строка 19:
 http://​wiki.centos.org/​HowTos/​Spice-libvirt http://​wiki.centos.org/​HowTos/​Spice-libvirt
  
-После переноса контейнера 
-<code bash> 
  
-for s in `ls /​etc/​init.d/​` ; do chkconfig $s off; done +~~OWNERAPPROVE~~
-for s in network crond sshd rsyslog jexec postfix postgresql xinetd iptables httpd; do chkconfig $s on; done +
- +
-( set -x; for s in  sshd mysqld nginx supervisord redis-sentinel redis rsyslog ​ postgresql network crond sshd rsyslog jexec postfix postgresql xinetd iptables httpd; do chkconfig --del $s;  chkconfig --add $s; chkconfig --level 3 $s on; done ) +
- +
-setsid dd if=/​vm/​devel/​makedistro_master/​private/​root.hdd/​root.hdd of=/​vm/​devel/​makedistro_integra/​private/​root.hdd/​root.hdd oflag=direct iflag=direct bs=10M &>/​tmp/​dd.log & disown -a +
-</​code>​+