split host configure to acpi and console
[sysadmin-cookbook] / recepies / ganeti / migrate-lxc / 0-ganeti.sh
index 12294ad..226b6e9 100644 (file)
@@ -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
 }