/[sysadmin-cookbook]/recepies/ganeti/migrate-lxc/A-ganeti-fix-root.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/A-ganeti-fix-root.sh

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

revision 313 by dpavlin, Wed Jan 29 00:13:48 2014 UTC revision 314 by dpavlin, Wed Apr 23 19:08:22 2014 UTC
# Line 3  Line 3 
3  . ./0-host.sh  . ./0-host.sh
4  . ./0-ganeti.sh  . ./0-ganeti.sh
5    
6  ssh_master ls -d /tmp/$host/rootfs/boot > $host/rootfs_boot  ssh_master ls -d /tmp/$host/rootfs > $host/rootfs_boot
7  if [ -s $host/rootfs_boot ] ; then  if [ -s $host/rootfs_boot ] ; then
8          ssh_master mv /tmp/$host/rootfs/* /tmp/$host/          ssh_master mv /tmp/$host/rootfs/* /tmp/$host/
9          ssh_master mv /tmp/$host/rootfs/.?* /tmp/$host/          ssh_master mv /tmp/$host/rootfs/.?* /tmp/$host/

Legend:
Removed from v.313  
changed lines
  Added in v.314

  ViewVC Help
Powered by ViewVC 1.1.26