mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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/
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user