parent
e8363f64d1
commit
dac1ea8516
@ -0,0 +1,31 @@
|
||||
From c25ff1a8022cf345d3ce29682207ed3732a4244a Mon Sep 17 00:00:00 2001
|
||||
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||
Date: Mon, 14 Oct 2024 10:43:08 +0100
|
||||
Subject: [PATCH] tests/gdisk/test-expand-gpt.pl: Implement SKIP rule for this
|
||||
test
|
||||
|
||||
Reported-by: David Runge
|
||||
Related: https://github.com/libguestfs/libguestfs/issues/155
|
||||
---
|
||||
tests/gdisk/test-expand-gpt.pl | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/tests/gdisk/test-expand-gpt.pl b/tests/gdisk/test-expand-gpt.pl
|
||||
index 23a52b23c..5c77247c0 100755
|
||||
--- a/tests/gdisk/test-expand-gpt.pl
|
||||
+++ b/tests/gdisk/test-expand-gpt.pl
|
||||
@@ -20,6 +20,11 @@ use warnings;
|
||||
|
||||
use Sys::Guestfs;
|
||||
|
||||
+if ($ENV{SKIP_TEST_EXPAND_GPT_PL}) {
|
||||
+ print "$0: test skipped because SKIP_TEST_EXPAND_GPT_PL is set\n";
|
||||
+ exit 77;
|
||||
+}
|
||||
+
|
||||
sub tests {
|
||||
my $g = Sys::Guestfs->new ();
|
||||
|
||||
--
|
||||
2.43.0
|
||||
|
@ -0,0 +1,44 @@
|
||||
From 0f489f8eec0c02e9ed1d606a2032edccf81ef025 Mon Sep 17 00:00:00 2001
|
||||
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||
Date: Thu, 17 Oct 2024 08:59:49 +0100
|
||||
Subject: [PATCH] lib/inspect-osinfo.c: Add Windows Server 2025 osinfo
|
||||
|
||||
The guest was found to have these inspection fields:
|
||||
|
||||
type: windows
|
||||
distro: windows
|
||||
product_name: Windows Server 2025 Standard
|
||||
product_variant: Server
|
||||
version: 10.0
|
||||
arch: x86_64
|
||||
hostname: WIN-84V4KKQ30SM
|
||||
build ID: 26080
|
||||
windows_systemroot: /Windows
|
||||
windows_software_hive: /Windows/System32/config/SOFTWARE
|
||||
windows_system_hive: /Windows/System32/config/SYSTEM
|
||||
windows_current_control_set: ControlSet001
|
||||
|
||||
Reported-by: Ming Xie
|
||||
Fixes: https://issues.redhat.com/browse/RHEL-62935
|
||||
---
|
||||
lib/inspect-osinfo.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/inspect-osinfo.c b/lib/inspect-osinfo.c
|
||||
index c77344f63..f792d771a 100644
|
||||
--- a/lib/inspect-osinfo.c
|
||||
+++ b/lib/inspect-osinfo.c
|
||||
@@ -142,7 +142,9 @@ guestfs_impl_inspect_get_osinfo (guestfs_h *g, const char *root)
|
||||
switch (minor) {
|
||||
case 0:
|
||||
if (strstr (product_variant, "Server")) {
|
||||
- if (strstr (product_name, "2022"))
|
||||
+ if (strstr (product_name, "2025"))
|
||||
+ return safe_strdup (g, "win2k25");
|
||||
+ else if (strstr (product_name, "2022"))
|
||||
return safe_strdup (g, "win2k22");
|
||||
else if (strstr (product_name, "2019"))
|
||||
return safe_strdup (g, "win2k19");
|
||||
--
|
||||
2.43.0
|
||||
|
@ -1,4 +1,4 @@
|
||||
From 2f798c87910e0fe65247a0695855ba7c6338bb71 Mon Sep 17 00:00:00 2001
|
||||
From 5efb2b2ab438f7621897e0da8602cf6d81a03ce2 Mon Sep 17 00:00:00 2001
|
||||
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||
Date: Mon, 29 Jul 2013 14:47:56 +0100
|
||||
Subject: [PATCH] RHEL: Disable unsupported remote drive protocols
|
@ -1,4 +1,4 @@
|
||||
From e9a4e3efb7c86bf732c35f2582bec671b3604c83 Mon Sep 17 00:00:00 2001
|
||||
From e23ae7abc6b92235a7ccb72db9eaa23728511f18 Mon Sep 17 00:00:00 2001
|
||||
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||
Date: Tue, 7 Jul 2015 09:28:03 -0400
|
||||
Subject: [PATCH] RHEL: Reject use of libguestfs-winsupport features except for
|
Loading…
Reference in new issue