treewide: use architecture-specific UEFI boot path
The default UEFI boot path depends on the architecture. This change is
needed for aarch64 support.
Change-Id: I69916ac5063e963b67ecdcdd814b0678c61da9fb
Reviewed-on: https://review.monogon.dev/c/monogon/+/4195
Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
Tested-by: Jenkins CI
diff --git a/cloud/agent/install.go b/cloud/agent/install.go
index 2ba9859..e212d9a 100644
--- a/cloud/agent/install.go
+++ b/cloud/agent/install.go
@@ -112,6 +112,7 @@
System: 4096,
Data: 128,
},
+ Architecture: osImage.Config.ProductInfo.Architecture(),
SystemImage: systemImage,
EFIPayload: efiPayload,
ABLoader: structfs.Bytes(abloader),