Set time before downloading images
buildbot/travis_bionic Build done. Details
buildbot/multibuild_parent Build done. Details
buildbot/ipxe_x86_build_and_release Build done. Details

This commit is contained in:
Peter Šurda 2022-09-20 19:59:02 +08:00
parent 3e71d4bdf4
commit c719212148
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95
1 changed files with 3 additions and 3 deletions

View File

@ -190,6 +190,9 @@ goto static_ip_boot_setup
:boot_all
# Get accurate time so we can set the clock in kernel boot cmdline
ntp pool.ntp.org || goto error_handler
# We use HTTP because IPXE's HTTPS implementation is lacking. So we delegate
# integrity and validation to imgverify.
@ -216,9 +219,6 @@ kernel https://images2.sysdeploy.org/${ubuntu-variant}/${arch-info}/boot-kernel
imgverify --signer images.sysdeploy.org boot-kernel https://images2.sysdeploy.org/${ubuntu-variant}/${arch-info}/boot-kernel.sig || goto error_handler
# Get accurate time so we can set the clock in kernel boot cmdline
ntp pool.ntp.org || goto error_handler
echo ip-info ${ip-info}
sleep 1