xen-drbd
diff INSTALL @ 9:e2eafd7e1b85
Доработана инсталляции системы виртуализации
author | igor |
---|---|
date | Tue Feb 12 13:34:12 2008 +0200 (2008-02-12) |
parents | b6dc3480caae |
children | 128f4bc3f522 |
line diff
1.1 --- a/INSTALL Thu Sep 27 18:56:29 2007 +0300 1.2 +++ b/INSTALL Tue Feb 12 13:34:12 2008 +0200 1.3 @@ -1,26 +1,27 @@ 1.4 #!/bin/sh 1.5 1.6 +ROOT=/ 1.7 DEST_DIR=/usr/bin 1.8 1.9 -cp init.d-xen-drbd /etc/init.d/xen-drbd 1.10 -chmod +x /etc/init.d/xen-drbd 1.11 +cp init.d-xen-drbd ${ROOT}/etc/init.d/xen-drbd 1.12 +chmod +x ${ROOT}/etc/init.d/xen-drbd 1.13 1.14 -cp xen-scripts-network-xen-drbd /etc/xen/scripts/network-xen-drbd 1.15 +cp xen-scripts-network-xen-drbd $ROOT/etc/xen/scripts/network-xen-drbd 1.16 chmod +x /etc/xen/scripts/network-xen-drbd 1.17 1.18 -cp default-xen-drbd /etc/default/xen-drbd 1.19 -cp xen-drbd-start.py /etc/xen/xen-drbd-start 1.20 -cp xen-drbd.py ${DEST_DIR} 1.21 +cp default-xen-drbd ${ROOT}/etc/default/xen-drbd 1.22 +cp xen-drbd-start.py ${ROOT}/etc/xen/xen-drbd-start 1.23 +cp xen-drbd.py ${ROOT}/${DEST_DIR} 1.24 1.25 for i in 2 3 4 5 1.26 do 1.27 - ln -sf ../init.d/xen-drbd /etc/rc$i.d/S95xen-drbd 1.28 + ln -sf ../init.d/xen-drbd ${ROOT}/etc/rc$i.d/S95xen-drbd 1.29 #rm /etc/rc$i.d/S22xen-drbd 1.30 done 1.31 1.32 for i in 0 1 6 1.33 do 1.34 - ln -sf ../init.d/xen-drbd /etc/rc$i.d/K05xen-drbd 1.35 + ln -sf ../init.d/xen-drbd ${ROOT}/etc/rc$i.d/K05xen-drbd 1.36 #rm /etc/rc$i.d/K21xen-drbd 1.37 done 1.38