/[sysadmin-cookbook]/recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/ganeti/migrate-lxc/7-lxc-stop-container.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 316 by dpavlin, Thu Apr 24 07:26:24 2014 UTC revision 317 by dpavlin, Fri May 2 15:47:36 2014 UTC
# Line 8  ssh_lxc /etc/init.d/lxc-watchdog stop $h Line 8  ssh_lxc /etc/init.d/lxc-watchdog stop $h
8    
9  ssh_lxc rm -v /var/lib/lxc/$host/on_boot  ssh_lxc rm -v /var/lib/lxc/$host/on_boot
10    
11  ssh_lxc rsync -ravH --numeric-ids --sparse --delete --exclude /tmp --exclude /var/tmp /mnt/$host/ $storage:/tmp/$host/  ssh_lxc rsync -ravH --numeric-ids --inplace --delete --exclude /tmp --exclude /var/tmp /mnt/$host/ $storage:/tmp/$host/

Legend:
Removed from v.316  
changed lines
  Added in v.317

  ViewVC Help
Powered by ViewVC 1.1.26