- Timestamp:
- Jul 13, 2010, 12:03:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r1070 r1072 481 481 pb_log(0, "and that it allows remote root login (PermitRootLogin yes in /etc/ssh/sshd_config)\n"); 482 482 pb_log(0, "Also ensure that network is up, firewalling correctly configured, and perl and scp/ssh installed\n"); 483 pb_log(0, "You should then be able to login with ssh -p VMPORT root\@localhost (if VM started with pb)\n"); 483 484 } elsif ($action =~ /^setupve$/) { 484 485 pb_setup2v("ve"); … … 1613 1614 1614 1615 # TODO: vmmonport should be optional 1615 my ($ptr,$ vmpath,$vmport,$vmsize,$vmmonport) = pb_conf_get("vmtype","vmpath","vmport","vmsize","vmmonport");1616 my ($ptr,$ptr2,$vmpath,$vmport,$vmsize,$vmmonport) = pb_conf_get("vmtype","vmcmd","vmpath","vmport","vmsize","vmmonport"); 1616 1617 my ($vmopt,$vmtmout,$vmsnap) = pb_conf_get_if("vmopt","vmtmout","vmsnap"); 1617 1618 1618 1619 my $vmtype = $ptr->{$ENV{'PBPROJ'}}; 1620 my $vmcmd = $ptr2->{$ENV{'PBPROJ'}}; 1619 1621 if (not defined $ENV{'PBVMOPT'}) { 1620 1622 $ENV{'PBVMOPT'} = ""; … … 1659 1661 1660 1662 my $cmd; 1661 my $vmcmd; # has to be used for pb_check_ps1662 1663 my $vmm; # has to be used for pb_check_ps 1663 1664 if (($vmtype eq "qemu") || ($vmtype eq "kvm")) { 1664 my $qemucmd32;1665 my $qemucmd64;1666 if ($arch eq "x86_64") {1667 $qemucmd32 = "/usr/bin/qemu-system-i386";1668 $qemucmd64 = "/usr/bin/qemu";1669 } else {1670 $qemucmd32 = "/usr/bin/qemu";1671 $qemucmd64 = "/usr/bin/qemu-system-x86_64";1672 }1673 if ($v =~ /x86_64/) {1674 $vmcmd = "$qemucmd64";1675 } else {1676 $vmcmd = "$qemucmd32";1677 }1678 if ($vmtype eq "kvm") {1679 $vmcmd = "/usr/bin/kvm";1680 }1681 1665 $vmm = "$vmpath->{$ENV{'PBPROJ'}}/$v.qemu"; 1682 1666 if (($create != 0) || (defined $iso)) {
Note:
See TracChangeset
for help on using the changeset viewer.