xen-drbd

diff xen-scripts-network-xen-drbd @ 12:6e2436e09983

lv sizes fix
author igor
date Tue Feb 12 14:27:15 2008 +0200 (2008-02-12)
parents
children fc201b0bc6f9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xen-scripts-network-xen-drbd	Tue Feb 12 14:27:15 2008 +0200
     1.3 @@ -0,0 +1,17 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +XEN_DRBD_PATH='/usr/bin'
     1.7 +TOPOLOGY_NAME='xen-drbd'
     1.8 +[ -e /etc/default/xen-drbd ] && . /etc/default/xen-drbd
     1.9 +
    1.10 +case $1 in
    1.11 +		start)
    1.12 +			$XEN_DRBD_PATH/xen-drbd-install.py ${TOPOLOGY_NAME} make-bridges | sh -s
    1.13 +		;;
    1.14 +		stop)
    1.15 +		;;
    1.16 +		*)
    1.17 +			echo $0 'start|stop'
    1.18 +		;;
    1.19 +esac
    1.20 +