From ce85723f1a5fd9577007cb372d4f3f7906293981 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Tue, 20 Feb 2024 11:53:31 +0800 Subject: [PATCH] Reduce reliance on NTP --- embed.ipxe | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/embed.ipxe b/embed.ipxe index 4095013..c9b42fb 100644 --- a/embed.ipxe +++ b/embed.ipxe @@ -210,9 +210,9 @@ goto static_ip_boot_setup :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 -ntp pool.ntp.org || goto error_handler +ntp pool.ntp.org || echo "Skipped" # check for 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 -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 # will display as decimal digits. unit32 and string both display as hex.