Compare commits

...

6 Commits

Author SHA1 Message Date
Peter Šurda c26d9c8dfb
nocloud-net is deprecated
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
buildbot/ipxe_x86_build_and_release Build done. Details
2024-03-19 09:29:14 +08:00
Peter Šurda fd21958883
Download images from bunny.net
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
buildbot/ipxe_x86_build_and_release Build done. Details
2024-02-20 21:20:49 +08:00
Peter Šurda 5343bac65e
Revert last 4 commits
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
buildbot/ipxe_x86_build_and_release Build done. Details
This reverts commit ce85723f1a.
2024-02-20 16:09:34 +08:00
Peter Šurda 7401717352
Try to reopen interfaces at the beginning
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
buildbot/ipxe_x86_build_and_release Build done. Details
2024-02-20 13:16:03 +08:00
Peter Šurda 9c7265e6d4
Try static IP first, then DHCP
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
buildbot/ipxe_x86_build_and_release Build done. Details
2024-02-20 12:57:30 +08:00
Peter Šurda 632556590b
Override DNS even for DHCP
buildbot/travis_bionic Build done. Details
buildbot/multibuild_parent Build done. Details
buildbot/ipxe_x86_build_and_release Build done. Details
2024-02-20 12:36:35 +08:00
1 changed files with 11 additions and 11 deletions

View File

@ -210,9 +210,9 @@ goto static_ip_boot_setup
:boot_all
# Get accurate time for signature validation
# Get accurate time so we can set the clock in kernel boot cmdline
echo Syncing time over NTP
ntp pool.ntp.org || echo "Skipped"
ntp pool.ntp.org || goto error_handler
# check for EFI
iseq ${platform} efi && goto is_efi || goto not_efi
@ -237,8 +237,8 @@ echo Attempting EFI boot
set initrd1 initrd=initrd.cpio
isset initrd2 && clear initrd2
imgfetch http://images.sysdeploy.org/${ubuntu-variant}/${arch-info}/initrd.cpio || goto try_next_card
imgverify --signer images.sysdeploy.org initrd.cpio http://images.sysdeploy.org/${ubuntu-variant}/${arch-info}/initrd.cpio.sig || goto error_handler
imgfetch http://images-sysdeploy.b-cdn.net/${ubuntu-variant}/${arch-info}/initrd.cpio || goto try_next_card
imgverify --signer images.sysdeploy.org initrd.cpio http://images-sysdeploy.b-cdn.net/${ubuntu-variant}/${arch-info}/initrd.cpio.sig || goto error_handler
goto efi_and_not_efi
@ -247,20 +247,20 @@ echo Attempting legacy boot
set initrd1 initrd=boot-initrd
set initrd2 initrd=squashfs
imgfetch http://images.sysdeploy.org/${ubuntu-variant}/${arch-info}/squashfs /squashfs || goto try_next_card
imgverify --signer images.sysdeploy.org squashfs http://images.sysdeploy.org/${ubuntu-variant}/${arch-info}/squashfs.sig || goto error_handler
imgfetch http://images-sysdeploy.b-cdn.net/${ubuntu-variant}/${arch-info}/squashfs /squashfs || goto try_next_card
imgverify --signer images.sysdeploy.org squashfs http://images-sysdeploy.b-cdn.net/${ubuntu-variant}/${arch-info}/squashfs.sig || goto error_handler
initrd http://images.sysdeploy.org/${ubuntu-variant}/${arch-info}/boot-initrd || goto try_next_card
imgverify --signer images.sysdeploy.org boot-initrd http://images.sysdeploy.org/${ubuntu-variant}/${arch-info}/boot-initrd.sig || goto error_handler
initrd http://images-sysdeploy.b-cdn.net/${ubuntu-variant}/${arch-info}/boot-initrd || goto try_next_card
imgverify --signer images.sysdeploy.org boot-initrd http://images-sysdeploy.b-cdn.net/${ubuntu-variant}/${arch-info}/boot-initrd.sig || goto error_handler
:efi_and_not_efi
kernel http://images.sysdeploy.org/${ubuntu-variant}/${arch-info}/boot-kernel || goto try_next_card
imgverify --signer images.sysdeploy.org boot-kernel http://images.sysdeploy.org/${ubuntu-variant}/${arch-info}/boot-kernel.sig || goto error_handler
kernel http://images-sysdeploy.b-cdn.net/${ubuntu-variant}/${arch-info}/boot-kernel || goto try_next_card
imgverify --signer images.sysdeploy.org boot-kernel http://images-sysdeploy.b-cdn.net/${ubuntu-variant}/${arch-info}/boot-kernel.sig || goto error_handler
sleep 1
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
boot boot-kernel ${initrd1} ${initrd2} rootfstype=squashfs root=/squashfs ip=${ip-info} overlayroot=tmpfs:recurse=0 systemd.clock-usec=${unixtime:int32}000000 ds=nocloud;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.