More web interface support code.
[invirt/packages/invirt-remote.git] / files / usr / sbin / sipb-xen-lvrename
1 #!/bin/sh
2 oldmachine="$2"
3 newmachine="$3"
4 disk="$4"
5
6 if [ -e /etc/remctl/sipb-xen-auto/acl/"$oldmachine" ]; then
7         /sbin/lvrename xenvg "$oldmachine"_"$disk" "$newmachine"_"$disk"
8 fi