Changeset 653 in ProjectBuilder for devel/pb/bin/pb


Ignore:
Timestamp:
Jan 17, 2009, 4:28:50 PM (15 years ago)
Author:
Bruno Cornec
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.