xen-drbd

annotate INSTALL @ 9:e2eafd7e1b85

Доработана инсталляции системы виртуализации
author igor
date Tue Feb 12 13:34:12 2008 +0200 (2008-02-12)
parents b6dc3480caae
children 128f4bc3f522
rev   line source
igor@0 1 #!/bin/sh
igor@0 2
igor@6 3 ROOT=/
igor@0 4 DEST_DIR=/usr/bin
igor@0 5
igor@6 6 cp init.d-xen-drbd ${ROOT}/etc/init.d/xen-drbd
igor@6 7 chmod +x ${ROOT}/etc/init.d/xen-drbd
igor@0 8
igor@6 9 cp xen-scripts-network-xen-drbd $ROOT/etc/xen/scripts/network-xen-drbd
igor@0 10 chmod +x /etc/xen/scripts/network-xen-drbd
igor@0 11
igor@6 12 cp default-xen-drbd ${ROOT}/etc/default/xen-drbd
igor@6 13 cp xen-drbd-start.py ${ROOT}/etc/xen/xen-drbd-start
igor@6 14 cp xen-drbd.py ${ROOT}/${DEST_DIR}
igor@0 15
igor@0 16 for i in 2 3 4 5
igor@0 17 do
igor@6 18 ln -sf ../init.d/xen-drbd ${ROOT}/etc/rc$i.d/S95xen-drbd
igor@0 19 #rm /etc/rc$i.d/S22xen-drbd
igor@0 20 done
igor@0 21
igor@0 22 for i in 0 1 6
igor@0 23 do
igor@6 24 ln -sf ../init.d/xen-drbd ${ROOT}/etc/rc$i.d/K05xen-drbd
igor@0 25 #rm /etc/rc$i.d/K21xen-drbd
igor@0 26 done
igor@0 27
igor@0 28