Skip to content

Commit

Permalink
test: fix the Environment args to support UEFI boot
Browse files Browse the repository at this point in the history
This fixes part of the UEFI boot in Sfyra. UEFI boot is still buggy as
UEFI doesn't quite support forcing boot from the network via QEMU args,
but this brings it one step closer.

Also clarify in the docs that iPXE filename depends on the node
architecture.

Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
smira authored and talos-bot committed May 12, 2021
1 parent d15a960 commit 2cdde00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/website/content/docs/v0.3/Guides/bootstrapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ allow bootp;
allow booting;

next-server 192.168.1.150;
filename "ipxe.efi";
filename "ipxe.efi"; # use "undionly.kpxe" for BIOS netboot or "ipxe.efi" for UEFI netboot

host talos-mgmt-0 {
fixed-address 192.168.254.2;
Expand Down
1 change: 1 addition & 0 deletions sfyra/pkg/tests/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func TestEnvironmentDefault(ctx context.Context, metalClient client.Client, clus
cmdline.Append("talos.platform", "metal")
cmdline.Append("talos.shutdown", "halt")
cmdline.Append("talos.config", fmt.Sprintf("http://%s:9091/configdata?uuid=", cluster.SideroComponentsIP()))
cmdline.Append("initrd", "initramfs.xz")

environment.APIVersion = constants.SideroAPIVersion
environment.Name = environmentName
Expand Down

0 comments on commit 2cdde00

Please sign in to comment.