cloudbase / windows-imaging-tools

Tools to automate the creation of a Windows image for OpenStack, supporting KVM, Hyper-V, ESXi and more.
Apache License 2.0
670 stars 227 forks source link

Added custom ntp servers option #316

Closed ader1990 closed 4 years ago

ader1990 commented 4 years ago

New config option ntp_servers was added in the 'custom' section.

Example:

[custom] ntp_servers = "0.ch.pool.ntp.org 1.ch.pool.ntp.org"

The ntp servers will be set during online stage, using: w32tm.exe /config /syncfromflags:manual /manualpeerlist:"${CustomNtpServers}"

The ntp servers are comma separated.

Fixes: https://github.com/cloudbase/windows-openstack-imaging-tools/issues/314