projects
/
invirt/packages/invirt-remote.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remctl support for renaming machines
[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