Reduce reliance on NTP
This commit is contained in:
parent
6d3b19dfff
commit
ce85723f1a
|
@ -210,9 +210,9 @@ goto static_ip_boot_setup
|
||||||
|
|
||||||
:boot_all
|
:boot_all
|
||||||
|
|
||||||
# Get accurate time so we can set the clock in kernel boot cmdline
|
# Get accurate time for signature validation
|
||||||
echo Syncing time over NTP
|
echo Syncing time over NTP
|
||||||
ntp pool.ntp.org || goto error_handler
|
ntp pool.ntp.org || echo "Skipped"
|
||||||
|
|
||||||
# check for EFI
|
# check for EFI
|
||||||
iseq ${platform} efi && goto is_efi || goto not_efi
|
iseq ${platform} efi && goto is_efi || goto not_efi
|
||||||
|
@ -260,7 +260,7 @@ imgverify --signer images.sysdeploy.org boot-kernel http://images.sysdeploy.org/
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
boot boot-kernel ${initrd1} ${initrd2} rootfstype=squashfs root=/squashfs ip=${ip-info} overlayroot=tmpfs:recurse=0 systemd.clock-usec=${unixtime:int32}000000 ds=nocloud-net;s=https://cloud-init.sysdeploy.org/apiv2?uuid=${uuid}&filetype= || goto error_handler
|
boot boot-kernel ${initrd1} ${initrd2} rootfstype=squashfs root=/squashfs ip=${ip-info} overlayroot=tmpfs:recurse=0 ds=nocloud-net;s=https://cloud-init.sysdeploy.org/apiv2?uuid=${uuid}&filetype= || goto error_handler
|
||||||
|
|
||||||
# unixtime variable must be used with int32, because that's the only way it
|
# unixtime variable must be used with int32, because that's the only way it
|
||||||
# will display as decimal digits. unit32 and string both display as hex.
|
# will display as decimal digits. unit32 and string both display as hex.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user