source: trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-lvrename @ 132

Last change on this file since 132 was 132, checked in by tabbott, 17 years ago

remctl support for renaming machines

  • Property svn:executable set to *
File size: 182 bytes
Line 
1#!/bin/sh
2oldmachine="$2"
3newmachine="$3"
4disk="$4"
5
6if [ -e /etc/remctl/sipb-xen-auto/acl/"$oldmachine" ]; then
7        /sbin/lvrename xenvg "$oldmachine"_"$disk" "$newmachine"_"$disk"
8fi
Note: See TracBrowser for help on using the repository browser.