From b2328acca4f57f1d472e7bab34597ad71d145841 Mon Sep 17 00:00:00 2001 From: kkumar Date: Fri, 3 Jan 2025 15:59:51 +0530 Subject: [PATCH] Fix complaince check --- .reuse/dep5 | 1 + README.md | 5 ++++- config/default/config.yaml | 4 ++-- example/config.yaml | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.reuse/dep5 b/.reuse/dep5 index 81c5ca6..180f5b0 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -17,6 +17,7 @@ Files: go.mod go.sum hack/* + plugins/httpboot/*.yaml Copyright: 2024 SAP SE or an SAP affiliate company and IronCore contributors License: MIT diff --git a/README.md b/README.md index ff176f4..70064c2 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,12 @@ Implements HTTP boot from [Unifed Kernel Image](https://uapi-group.org/specifica Delivers the HTTP boot image as a [BootFileURL](https://www.rfc-editor.org/rfc/rfc5970.html#section-3.2). Based on configuration it delivers either a client-specific UKIs dynamically or a default UKI for all clients. When client-specific UKIs are configured, IPv6 relays *must* be used, so the client can be identified based on its link-local address (which the relay always provides). ### Configuration -A single HTTP(s) URL shall be passed as a string. It must be either +A single HTTP(s) URL shall be passed as a string in `httpboot_config.yaml` as given below. It must be either - a direct URL to an UKI (default UKI for all clients) - magic identifier `bootservice:`+ a URL to a boot service delivering dynamically client-specific UKIs based on client identification +````yaml +bootServer: http://[2001:db8::1]/image.uki +```` ### Notes - not tested on IPv4 - IPv6 relays are supported diff --git a/config/default/config.yaml b/config/default/config.yaml index 93b3564..2fedf97 100644 --- a/config/default/config.yaml +++ b/config/default/config.yaml @@ -13,5 +13,5 @@ data: - ipam: metal-api-system dhcp - onmetal: - dns: 2001:4860:4860::6464 2001:4860:4860::64 - - pxeboot: pxeboot_config.yaml - - httpboot: bootservice:http://example.com/boot-operator-endpoint:8083 + - pxeboot: tftp://[2001:db8::1]/ipxe/x86_64/ipxe http://[2001:db8::1]/ipxe/boot6 + - httpboot: bootservice:http://example.com/boot-operator-endpoint:8083 \ No newline at end of file diff --git a/example/config.yaml b/example/config.yaml index 742bcad..23aa90f 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -8,7 +8,7 @@ server6: # always provide the same IP address, no matter who's asking: # - bluefield: bluefield_config.yaml # implement HTTPBoot - - httpboot: http://[2001:db8::1]/image.uki + - httpboot: httpboot_config.yaml # add leased IPs to ironcore's IPAM - ipam: ipam_config.yaml # lease IPs based on /127 subnets coming from relays running on the switches