Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d68f0a4 authored by sixiao@microsoft.com's avatar sixiao@microsoft.com Committed by David S. Miller
Browse files

tools: hv: set hotplug for VF on Suse



On HyperV, the VF interface can be offered by a host at any time.
Mark the VF interface as hotplug, to make sure it will be brought up
automatically when it is registered.

Signed-off-by: default avatarSimon Xiao <sixiao@microsoft.com>
Reviewed-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a22431a3
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -170,7 +170,11 @@ function create_eth_cfg_suse {
}

function create_eth_cfg_pri_suse {
	create_eth_cfg_suse $1
	local fn=$cfgdir/ifcfg-$1

	rm -f $fn
	echo BOOTPROTO=none >>$fn
	echo STARTMODE=hotplug >>$fn
}

function create_bond_cfg_suse {