xen-drbd

view xen-scripts-network-xen-drbd @ 37:e80bdf496aa2

1. --network (-n) option; topology name is not hardcoded since present
2. fix for incorrect processing of the paramater spicified in form like drbd8=sda1 in xen-drbd-install
author igor@manas.xt.vpn
date Mon Sep 15 10:03:24 2008 +0300 (2008-09-15)
parents fc201b0bc6f9
children ff5eebae3437
line source
1 #!/bin/sh
3 XEN_DRBD_PATH='/usr/bin'
4 TOPOLOGY_NAME='xen-drbd'
5 [ -e /etc/default/xen-drbd ] && . /etc/default/xen-drbd
7 case $1 in
8 start)
9 $XEN_DRBD_PATH/xen-drbd-install ${TOPOLOGY_NAME} make-bridges | sh -s
10 ;;
11 stop)
12 ;;
13 *)
14 echo $0 'start|stop'
15 ;;
16 esac