iPXE: added poweroff & reboot cmd's (#RHEL-26590)

Resolves: #RHEL-26590

Signed-off-by: Konstantin Shalygin <shalygin.k@selectel.com>
This commit is contained in:
Konstantin Shalygin 2024-02-24 15:23:19 +03:00
parent aebbce1218
commit 5bfe2d014d
No known key found for this signature in database
GPG Key ID: A88D324AB17F459C
2 changed files with 14 additions and 10 deletions

View File

@ -1,9 +1,10 @@
diff -rupN ipxe-20190125-git36a4c85f/src/config/local/general.h ipxe-20190125-git36a4c85f.new/src/config/local/general.h
--- ipxe-20190125-git36a4c85f/src/config/local/general.h 1970-01-01 01:00:00.000000000 +0100
+++ ipxe-20190125-git36a4c85f.new/src/config/local/general.h 2019-02-01 16:40:42.725293033 +0000
@@ -0,0 +1,5 @@
+/* Enable IPv6. */
+#define NET_PROTO_IPV6
+/* Enable HTTPS */
+#define DOWNLOAD_PROTO_HTTPS
+#define DOWNLOAD_PROTO_NFS
diff -Naupr ipxe-20240119-gitde8a0821/src/config/local/general.h ipxe-20240119-gitde8a0821.new/src/config/local/general.h
--- ipxe-20240119-gitde8a0821/src/config/local/general.h 1970-01-01 03:00:00
+++ ipxe-20240119-gitde8a0821.new/src/config/local/general.h 2024-02-24 13:34:58
@@ -0,0 +1,6 @@
+// enable additional options
+#define NET_PROTO_IPV6 /* IPv6 protocol */
+#define DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
+#define DOWNLOAD_PROTO_NFS /* Network File System Protocol */
+#define REBOOT_CMD /* Reboot command */
+#define POWEROFF_CMD /* Power off command */

View File

@ -39,7 +39,7 @@
Name: ipxe
Version: %{date}
Release: 1.git%{hash}%{?dist}
Release: 2.git%{hash}%{?dist}
Summary: A network boot loader
License: BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND (GPL-2.0-only OR MPL-1.1) AND GPL-2.0-or-later AND GPL-2.0-or-later WITH UBDL-exception AND ISC AND MIT
@ -278,6 +278,9 @@ cp -a src/bin-arm64-efi/ipxe.efi %{buildroot}/%{_datadir}/%{name}/arm64-efi/ipxe
%endif
%changelog
* Fri 23 2024 Konstantin Shalygin <shalygin.k@selectel.com> - 20240119-2.gitde8a0821
- Added iPXE 'reboot' & 'poweroff' commands
* Tue Jan 30 2024 Daniel P. Berrangé <berrange@redhat.com> - 20240119-1.gitde8a0821
- Update to latest git snapshot