Set time before downloading images
This commit is contained in:
parent
3e71d4bdf4
commit
c719212148
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user