/[vz-tools]/trunk/vz-clone.pl
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 /trunk/vz-clone.pl

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

revision 27 by dpavlin, Thu Oct 4 23:42:24 2007 UTC revision 28 by dpavlin, Fri Oct 5 00:28:43 2007 UTC
# Line 146  if ( $vz_lv ) { Line 146  if ( $vz_lv ) {
146    
147          if ( $use_snapshot ) {          if ( $use_snapshot ) {
148    
149                  copy_files( "/tmp/$snap/private/$VEID", "$vz/private/$CVEID" );                  copy_files( "/tmp/$snap/private/$VEID", "/tmp/$clone/private" );
150    
151                  print "Cleanup\n";                  print "Cleanup\n";
152    
# Line 156  if ( $vz_lv ) { Line 156  if ( $vz_lv ) {
156                  lvremove( '-f', "$vz_lv_path/$snap" );                  lvremove( '-f', "$vz_lv_path/$snap" );
157    
158          } else {          } else {
159                  copy_files( "$vz/private/$VEID", "$vz/private/$CVEID" );                  copy_files( "$vz/private/$VEID", "/tmp/$clone/private" );
160    
161          }          }
162    

Legend:
Removed from v.27  
changed lines
  Added in v.28

  ViewVC Help
Powered by ViewVC 1.1.26