• [^] # Re: plusieurs points

    Posté par . En réponse au message OL7 : Désynchronisation rapide de NTP.. Évalué à 1. Dernière modification le 20 décembre 2016 à 17:18.

    on a toujours le choix

    Dans le cas où tu voudrais monter une VM qui servira de serveur de temps à tout un tas d’autres VM existantes, qui utilisent ntp par défaut, c’est appréciable de ne pas avoir à modifier toutes tes VM (en y installant chrony)... même si tu utilises puppet ou autre...

    Par contre je pense effectivement que la piste des guest additions est la bonne.

    Une rapide recherche : http://superuser.com/questions/688127/how-to-correctly-sync-time-in-linux-running-as-virtual-guest-after-host-resumes

    Ce que la doc semble confirmer : https://www.virtualbox.org/manual/ch04.html#idm1948

    Time synchronization

    With the Guest Additions installed, VirtualBox can ensure that the guest's system time is better synchronized with that of the host.

    For various reasons, the time in the guest might run at a slightly different rate than the time on the host. The host could be receiving updates via NTP and its own time might not run linearly. A VM could also be paused, which stops the flow of time in the guest for a shorter or longer period of time. When the wall clock time between the guest and host only differs slightly, the time synchronization service attempts to gradually and smoothly adjust the guest time in small increments to either "catch up" or "lose" time. When the difference is too great (e.g., a VM paused for hours or restored from saved state), the guest time is changed immediately, without a gradual adjustment.

    Lien vers la doc et explication déjà donnée par d’autre, je me rends compte...

    Notons que les fonctionnalités apportées par les guest additions ne sont pas libres.