X-Git-Url: http://git.rot13.org/?p=sysadmin-cookbook;a=blobdiff_plain;f=recepies%2Fganeti%2Fmigrate-lxc%2F7-lxc-stop-container.sh;fp=recepies%2Fganeti%2Fmigrate-lxc%2F7-lxc-stop-container.sh;h=317d3242f2b9619b798d9ff00d1b3a406fe76dc0;hp=6e7ab64f1fe4e8ffd3790101bc370b45ad6f4f00;hb=84b440eaccaa426dfe0a251ee60b9d139049dd01;hpb=ec77d9d913eae17c0345a6b38d334e5695f88aa2 diff --git a/recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh b/recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh index 6e7ab64..317d324 100755 --- a/recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh +++ b/recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh @@ -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/