Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

unable to set NTP-servers during boot #1330

@umlaeute

Description

@umlaeute

i noticed that the ntpd process gets started with a hard-coded list of ntp-servers:

: ${NTP_SERVER:='0.boot2docker.pool.ntp.org 1.boot2docker.pool.ntp.org 2.boot2docker.pool.ntp.org 3.boot2docker.pool.ntp.org'}

nowadays, many companies block outgoing NTP-traffic (to prevent DDoS attacks), which makes this sub-optimal (eventually resulting in hangs until the ntpd times out).

i would have expected to be able to override the NTP_SERVER variable, but changes to /var/lib/boot2docker/profile seem to have no effect (that files seems to be only used by the docker process).

obviously, the NTP_SERVER value is meant to be settable (and the list of ntp-servers is only a fallback), but i don't see a way to inject any values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions