projects
/
sysadmin-cookbook
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
split host configure to acpi and console
[sysadmin-cookbook]
/
recepies
/
ganeti
/
migrate-lxc
/
0-ganeti.sh
diff --git
a/recepies/ganeti/migrate-lxc/0-ganeti.sh
b/recepies/ganeti/migrate-lxc/0-ganeti.sh
index
12294ad
..
226b6e9
100644
(file)
--- a/
recepies/ganeti/migrate-lxc/0-ganeti.sh
+++ b/
recepies/ganeti/migrate-lxc/0-ganeti.sh
@@
-10,5
+10,9
@@
test -d ganeti || mkdir ganeti
ssh_master() {
log=`basename $1`
- ssh root@$master $* | tee ganeti/$log
+ if [ "$1" == "gnt-instance" ] ; then
+ ssh root@$master $*
+ else
+ ssh root@$master $* | tee ganeti/$log
+ fi
}