Changeset 1714 in ProjectBuilder for devel/pb-modules/etc/pb.conf.pod


Ignore:
Timestamp:
Mar 10, 2013, 6:17:47 PM (11 years ago)
Author:
Bruno Cornec
Message:
  • remove param vmntpcmd and use oscmdntp instead placed in pb.conf
  • Improve ntp handling for setupvm by adding a call to date when ntpdate is failing
  • Update appropriate docs
  • Fix pb_get_sudocmds which was using @_ directly which was impacting parameters in the calling function, and removed e.g. the ntp server name from the cmd line !
  • TODO: if a ntpd server is running, avoid doing all ntp/date stuff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/etc/pb.conf.pod

    r1702 r1714  
    725725 Nature: Optional
    726726 Key: project (as defined in the -p option or PBPROJ environment variable)
    727  Value: NTP server to contact for time accuracy with B<rmntpcmd> before building.
     727 Value: NTP server to contact for time accuracy with B<ospathcmd-ntpdate> before building.
    728728 Conffile: rm
    729729 Example: rmntp default = 1.pool.ntp.org
    730 
    731 =item B<rmntpcmd>
    732 
    733  Nature: Mandatory
    734  Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
    735  Value: NTP command to use to perform time synchronization with the B<rmntp> server. Use full path name, as this command will be used in the sudoers file to allow its launch by root.
    736  Conffile: rm
    737  Example: rmntpcmd default = /usr/sbin/ntpdate,rmntpcmd opensuse-10.1-i386 = /usr/sbin/sntp -P no -r
    738730
    739731=item B<rmpath>
     
    841833 Nature: Optional
    842834 Key: project (as defined in the -p option or PBPROJ environment variable)
    843  Value: NTP server to contact for time accuracy with B<ventpcmd> before building.
     835 Value: NTP server to contact for time accuracy with B<ospathcmd-ntpdate> before building.
    844836 Conffile: ve
    845837 Example: ventp default = 1.pool.ntp.org
    846 
    847 =item B<ventpcmd>
    848 
    849  Nature: Mandatory
    850  Key: project (as defined in the -p option or PBPROJ environment variable)
    851  Value: NTP command to use to perform time synchronization with the B<ventp> server. Use full path name, as this command will be used in the sudoers file to allow its launch by root.
    852  Conffile: ve
    853  Example: ventpcmd default = /usr/sbin/ntpdate
    854838
    855839=item B<vepath>
     
    953937 Nature: Optional
    954938 Key: project (as defined in the -p option or PBPROJ environment variable)
    955  Value: NTP server to contact for time accuracy with B<vmntpcmd> before building.
     939 Value: NTP server to contact for time accuracy with B<ospathcmd-ntpdate> before building.
    956940 Conffile: vm
    957941 Example: vmntp default = 1.pool.ntp.org
    958 
    959 =item B<vmntpcmd>
    960 
    961  Nature: Mandatory
    962  Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch).
    963  Value: NTP command to use to perform time synchronization with the B<vmntp> server. Use full path name, as this command will be used in the sudoers file to allow its launch by root.
    964  Conffile: vm
    965  Example: vmntpcmd default = /usr/sbin/ntpdate,vmntpcmd opensuse-11.0-i386 = /usr/sbin/sntp -P no -r
    966942
    967943=item B<vmopt>
Note: See TracChangeset for help on using the changeset viewer.