remctl support for renaming machines
[invirt/packages/invirt-remote.git] / files / usr / sbin / sipb-xen-lvremove
1 #!/bin/sh
2 machine="$2"
3 disk="$3"
4
5 if [ -e /etc/remctl/sipb-xen-auto/acl/"$machine" ]; then
6         /sbin/lvremove --force /dev/xenvg/"$machine"_"$disk"
7 fi