523da2fdb2fac23b11c7530b5f81b42c9e4da9f0
[sysadmin-cookbook] / recepies / ganeti / migrate-lxc / 0-lxc.sh
1 export lxc=prod
2
3 test -d lxc || mkdir lxc
4
5 ssh_lxc() {
6         log=`basename $1`
7         ssh root@$lxc $* | tee lxc/$log
8 }
9