tweaks after migration of narada
[sysadmin-cookbook] / recepies / ganeti / migrate-lxc / 7-lxc-stop-container.sh
index 6e7ab64..317d324 100755 (executable)
@@ -2,9 +2,10 @@
 
 . ./0-host.sh
 . ./0-lxc.sh
+. ./0-ganeti.sh
 
 ssh_lxc /etc/init.d/lxc-watchdog stop $host
 
 ssh_lxc rm -v /var/lib/lxc/$host/on_boot
 
-ssh_lxc rsync -ravH --numeric-ids --sparse --delete --exclude /tmp --exclude /var/tmp /mnt/$host/ 10.60.0.112:/tmp/$host/
+ssh_lxc rsync -ravH --numeric-ids --sparse --delete --exclude /tmp --exclude /var/tmp /mnt/$host/ $master:/tmp/$host/