Changeset 1733 in ProjectBuilder for devel/pb


Ignore:
Timestamp:
Mar 18, 2013, 5:43:48 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • the date command should also been added to sudoers (when ntpdate fails or doesn't exist)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1728 r1733  
    33983398    if ($vtype =~ /^vm/) {
    33993399        my $hpath = pb_distro_get_param($pbos,pb_conf_get("ospathcmd-halt"));
    3400         my @sudocmds = pb_get_sudocmds($pbos,$ntpline,"sudo $hpath");
     3400        my @sudocmds = pb_get_sudocmds($pbos,$ntpline,"sudo $hpath","sudo /bin/date");
    34013401        print SCRIPT << "EOF";
    34023402# This is needed in order to be able on VM to halt the machine from the $pbac->{$ENV{'PBPROJ'}} account at least
Note: See TracChangeset for help on using the changeset viewer.