resolves: RHEL-81733 Add /etc/fstab, lsblk and blkid to verbose output resolves: RHEL-106490
30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From dc218b25f0bc2704918748e4e8120ec436783e58 Mon Sep 17 00:00:00 2001
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
Date: Tue, 24 Jun 2025 14:04:10 +0100
|
|
Subject: [PATCH] appliance: Ignore sit0 network device in the guest
|
|
|
|
Reported-by: Srikanth Aithal <sraithal@amd.com>
|
|
Fixed-by: Stefano Brivio <sbrivio@redhat.com>
|
|
Tested-by: Srikanth Aithal <sraithal@amd.com>
|
|
See-also: https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/thread/566LAY7RNM7T7EMQQQYIQA2VK5TXETK5/
|
|
---
|
|
appliance/init | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/appliance/init b/appliance/init
|
|
index 5d35a47dd..47eb97dfc 100755
|
|
--- a/appliance/init
|
|
+++ b/appliance/init
|
|
@@ -127,7 +127,7 @@ ip addr add 127.0.0.1/8 brd + dev lo scope host
|
|
ip link set dev lo up
|
|
|
|
if test "$guestfs_network" = 1; then
|
|
- iface=$(ls -I all -I default -I lo /proc/sys/net/ipv4/conf)
|
|
+ iface=$(ls -I all -I default -I lo -I sit0 /proc/sys/net/ipv4/conf)
|
|
# Two workarounds for Ubuntu:
|
|
touch /etc/fstab
|
|
rm -f /etc/dhcp/dhclient-enter-hooks.d/resolved
|
|
--
|
|
2.47.1
|
|
|