use ssh_host to get IP
[sysadmin-cookbook] / recepies / ganeti / migrate-lxc / 1-inspect-container-ip.sh
index b80a85a..912c8ce 100755 (executable)
@@ -2,4 +2,4 @@
 
 . ./0-host.sh
 
-ssh $host /sbin/ifconfig | tee $host/ifconfig
+ssh_host /sbin/ifconfig