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:
parent
aebbce1218
commit
5bfe2d014d
@ -1,9 +1,10 @@
|
|||||||
diff -rupN ipxe-20190125-git36a4c85f/src/config/local/general.h ipxe-20190125-git36a4c85f.new/src/config/local/general.h
|
diff -Naupr ipxe-20240119-gitde8a0821/src/config/local/general.h ipxe-20240119-gitde8a0821.new/src/config/local/general.h
|
||||||
--- ipxe-20190125-git36a4c85f/src/config/local/general.h 1970-01-01 01:00:00.000000000 +0100
|
--- ipxe-20240119-gitde8a0821/src/config/local/general.h 1970-01-01 03:00:00
|
||||||
+++ ipxe-20190125-git36a4c85f.new/src/config/local/general.h 2019-02-01 16:40:42.725293033 +0000
|
+++ ipxe-20240119-gitde8a0821.new/src/config/local/general.h 2024-02-24 13:34:58
|
||||||
@@ -0,0 +1,5 @@
|
@@ -0,0 +1,6 @@
|
||||||
+/* Enable IPv6. */
|
+// enable additional options
|
||||||
+#define NET_PROTO_IPV6
|
+#define NET_PROTO_IPV6 /* IPv6 protocol */
|
||||||
+/* Enable HTTPS */
|
+#define DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
|
||||||
+#define DOWNLOAD_PROTO_HTTPS
|
+#define DOWNLOAD_PROTO_NFS /* Network File System Protocol */
|
||||||
+#define DOWNLOAD_PROTO_NFS
|
+#define REBOOT_CMD /* Reboot command */
|
||||||
|
+#define POWEROFF_CMD /* Power off command */
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
Name: ipxe
|
Name: ipxe
|
||||||
Version: %{date}
|
Version: %{date}
|
||||||
Release: 1.git%{hash}%{?dist}
|
Release: 2.git%{hash}%{?dist}
|
||||||
Summary: A network boot loader
|
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
|
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
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jan 30 2024 Daniel P. Berrangé <berrange@redhat.com> - 20240119-1.gitde8a0821
|
||||||
- Update to latest git snapshot
|
- Update to latest git snapshot
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user