Changeset 792 in ProjectBuilder


Ignore:
Timestamp:
Jun 17, 2009, 12:47:01 PM (15 years ago)
Author:
Bruno Cornec
Message:

If passing the -i parameter then the VM is launched with the according CD attached

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r783 r792  
    4949my $pbport;                 # Port to use to connect to the VM
    5050my $newver;                 # New version to create
    51 my $iso;                    # ISO image for the VM to create
     51my $iso = undef;            # ISO image for the VM to create
    5252
    5353my @date = pb_get_date();
     
    15971597                }
    15981598            $vmm = "$vmpath->{$ENV{'PBPROJ'}}/$v.qemu";
    1599             if ($create != 0) {
     1599            if (($create != 0) || (defined $iso)) {
    16001600                $ENV{'PBVMOPT'} .= " -cdrom $iso -boot d";
    16011601            }
Note: See TracChangeset for help on using the changeset viewer.