Changeset 1105 in ProjectBuilder
- Timestamp:
- Nov 14, 2010, 3:09:23 AM (14 years ago)
- Location:
- devel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/etc/pb.conf
r1100 r1105 121 121 osrelexpr fedora = Fedora .*release (\d+) \( 122 122 osrelexpr vmware = VMware ESX Server (\d+) \( 123 osrelexpr rhel = Red Hat (?:Enterprise Linux|Linux Advanced Server) .*release ([0-9.]+).* \( 123 # If you want to differentiate .release for RHEL 124 #osrelexpr rhel = Red Hat (?:Enterprise Linux|Linux Advanced Server) .*release ([0-9.]+).* \( 125 osrelexpr rhel = Red Hat (?:Enterprise Linux|Linux Advanced Server) .*release ([0-9]+).* \( 124 126 osrelexpr centos = .*CentOS .*release ([0-9]).* 125 127 osrelexpr redhat = Red Hat Linux release (.+) \( … … 326 328 ospkgdep asianux = wget,make,perl-Date-Manip,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,diffutils 327 329 # Fedora - Module-Build first for processing as needed by others 328 osperldep fedora = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail,Date-Manip 329 ospkgdep fedora = wget,make,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,diffutils 330 osperldep fedora = File-MimeInfo,File-BaseDir,Mail-Sendmail 331 ospkgdep fedora = wget,make,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,diffutils,perl-Module-Build,perl-Date-Manip 332 osperldep fedora-12 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail,Date-Manip 333 ospkgdep fedora-12 = wget,make,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,diffutils 334 osperldep fedora-11 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail,Date-Manip 335 ospkgdep fedora-11 = wget,make,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,diffutils 336 osperldep fedora-10 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail,Date-Manip 337 ospkgdep fedora-10 = wget,make,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,diffutils 338 osperldep fedora-9 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail,Date-Manip 339 ospkgdep fedora-9 = wget,make,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,diffutils 340 osperldep fedora-8 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail,Date-Manip 341 ospkgdep fedora-8 = wget,make,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,diffutils 342 osperldep fedora-7 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail,Date-Manip 343 ospkgdep fedora-7 = wget,make,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,diffutils 344 osperldep fedora-6 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail,Date-Manip 345 ospkgdep fedora-6 = wget,make,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,diffutils 346 osperldep fedora-5 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail,Date-Manip 347 ospkgdep fedora-5 = wget,make,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,diffutils 348 osperldep fedora-4 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail,Date-Manip 349 ospkgdep fedora-4 = wget,make,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,diffutils 330 350 # fprintd-pam 331 351 # Slack - Module-Build first for processing as needed by others … … 343 363 osperldep centos-5 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail 344 364 ospkgdep centos-5 = wget,make,ntp,patch,perl-DateManip,rpm-build,diffutils 365 # Tested 366 osperldep rhel-6 = File-MimeInfo,File-BaseDir,Mail-Sendmail 367 ospkgdep rhel-6 = wget,make,ntpdate,patch,perl-Date-Manip,rpm-build,diffutils,perl-Module-Build 368 # 345 369 osperldep rhel-3 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail 346 370 ospkgdep rhel-3 = wget,make,ntp,patch,perl-DateManip,diffutils -
devel/pb/bin/pb
r1102 r1105 519 519 pb_log(0, "Please ensure that sshd is running in your VM by default\n"); 520 520 pb_log(0, "and that it allows remote root login (PermitRootLogin yes in /etc/ssh/sshd_config)\n"); 521 pb_log(0, "Also ensure that network is up, firewalling correctly configured, and perl and scp/ssh installed\n"); 521 pb_log(0, "Also ensure that network is up, firewalling correctly configured\n"); 522 pb_log(0, "and perl, sudo, ntpdate and scp/ssh installed\n"); 522 523 pb_log(0, "You should then be able to login with ssh -p VMPORT root\@localhost (if VM started with pb)\n"); 523 524 } elsif ($action =~ /^setupve$/) { … … 2357 2358 $key = "\Q$zero1"; 2358 2359 2359 pb_system("cat $keyfile.pub | ssh -q -o UserKnownHostsFile=/dev/null -p $nport -i $keyfile root\@$vmhost->{$ENV{'PBPROJ'}} \"mkdir -p .ssh ; chmod 700 .ssh ; cat >> .ssh/authorized_keys ; chmod 600 .ssh/authorized_keys ; if [ -x /usr/bin/chcon ]; then /usr/bin/chcon -Rt home_ssh_t .ssh 2> /dev/null; fi\"","Copying local keys to $vtype. This may require the root password"); 2360 # We call true to avoid problems if SELinux is not activated, but chcon is present and returns in that case 1 2361 pb_system("cat $keyfile.pub | ssh -q -o UserKnownHostsFile=/dev/null -p $nport -i $keyfile root\@$vmhost->{$ENV{'PBPROJ'}} \"mkdir -p .ssh ; chmod 700 .ssh ; cat >> .ssh/authorized_keys ; chmod 600 .ssh/authorized_keys ; if [ -x /usr/bin/chcon ]; then /usr/bin/chcon -Rt home_ssh_t .ssh 2> /dev/null; /bin/true; fi\"","Copying local keys to $vtype. This may require the root password"); 2360 2362 # once this is done, we can do what we want on the VM remotely 2361 2363 } elsif ($vtype eq "ve") {
Note:
See TracChangeset
for help on using the changeset viewer.