- Timestamp:
- Jul 12, 2010, 7:59:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r1067 r1070 1635 1635 if ($usesnap == 1) { 1636 1636 if ((defined $vmsnap->{$v}) && ($vmsnap->{$v} =~ /true/i)) { 1637 $ENV{'PBVMOPT'} .= " -snapshot";1637 $ENV{'PBVMOPT'} .= " -snapshot"; 1638 1638 } elsif ((defined $vmsnap->{$ENV{'PBPROJ'}}) && ($vmsnap->{$ENV{'PBPROJ'}} =~ /true/i)) { 1639 $ENV{'PBVMOPT'} .= " -snapshot";1639 $ENV{'PBVMOPT'} .= " -snapshot"; 1640 1640 } elsif ($pbsnap eq 1) { 1641 $ENV{'PBVMOPT'} .= " -snapshot";1641 $ENV{'PBVMOPT'} .= " -snapshot"; 1642 1642 } 1643 1643 } … … 1645 1645 if (($vmtype eq "kvm") || ($vmtype eq "qemu")) { 1646 1646 # Configure the monitoring to automize the creation of the 'pb' snapshot 1647 $ENV{'PBVMOPT'} .= " -serial mon:telnet::$vmmonport->{$ENV{'PBPROJ'}},server,nowait";1647 $ENV{'PBVMOPT'} .= " -serial mon:telnet::$vmmonport->{$ENV{'PBPROJ'}},server,nowait"; 1648 1648 # In that case no snapshot call needed 1649 $ENV{'PBVMOPT'} =~ s/ -snapshot//;1649 $ENV{'PBVMOPT'} =~ s/ -snapshot//; 1650 1650 } 1651 1651 }
Note:
See TracChangeset
for help on using the changeset viewer.