Set time before downloading images
Some checks failed
buildbot/travis_bionic Build done.
buildbot/multibuild_parent Build done.
buildbot/ipxe_x86_build_and_release Build done.

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

View File

@ -190,6 +190,9 @@ goto static_ip_boot_setup
:boot_all :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 # We use HTTP because IPXE's HTTPS implementation is lacking. So we delegate
# integrity and validation to imgverify. # 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 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} echo ip-info ${ip-info}
sleep 1 sleep 1