Changeset 653


Ignore:
Timestamp:
01/17/09 16:28:50 (4 years ago)
Author:
bruno
Message:
  • Avoid erasing an existing VM when called with newvm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r652 r653  
    14391439        if (! $vmexist) { 
    14401440            if ($create != 0) { 
     1441                die("Found an existing Virtual machine $vmm. Won't overwrite") if (-r $vmm); 
    14411442                if (($vmtype eq "qemu") || ($vmtype eq "xen")) { 
    14421443                    pb_system("/usr/bin/qemu-img create -f qcow2 $vmm $vmsize->{$ENV{'PBPROJ'}}","Creating the QEMU VM"); 
Note: See TracChangeset for help on using the changeset viewer.