Changeset 2389 in ProjectBuilder
- Timestamp:
- Mar 19, 2019, 1:37:16 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r2387 r2389 1041 1041 pb_log(0, "and that it allows remote root login (PermitRootLogin yes in /etc/ssh/sshd_config)\n"); 1042 1042 pb_log(0, "Also ensure that network is up, firewalling correctly configured\n"); 1043 pb_log(0, "and perl-YAML, tar, sudo, ntpdate and scp/ssh installed\n");1043 pb_log(0, "and perl-YAML, perl-Date-Manip, tar, sudo, ntpdate, make and scp/ssh installed\n"); 1044 1044 pb_log(0, "You should then be able to login with ssh -p VMPORT root\@localhost (if VM started with pb)\n"); 1045 1045 } elsif ($action =~ /^setuprm$/) { … … 5050 5050 # key is project on VM, but machine tuple for RM 5051 5051 if ($cmt =~ /^RM/i) { 5052 die "No port passed in parameter. You may miss a config file. Report to dev team\n" if (not defined $port->{"$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}"});5052 die "No port passed in parameter. You may miss a RM config file. Report to dev team\n" if (not defined $port->{"$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}"}); 5053 5053 $nport = $port->{"$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}"}; 5054 5054 } else { 5055 die "No port passed in parameter. You may miss a config file. Report to dev team\n" if (not defined $port->{'PBPROJ'});5055 die "No port passed in parameter. You may miss a VE config file or a vmport entry for $ENV{'PBPROJ'}. Report to dev team\n" if ((not defined $port->{'PBPROJ'}) and ($cmt =~ /^VE/i)); 5056 5056 $nport = $port->{$ENV{'PBPROJ'}}; 5057 5057 } 5058 pb_log(2,"pb_get_port with $nport\n") ;5058 pb_log(2,"pb_get_port with $nport\n") if (defined $nport); 5059 5059 if ($cmt =~ /^VM/i) { 5060 5060 # Maybe a port was given as parameter so overwrite
Note:
See TracChangeset
for help on using the changeset viewer.