代码拉取完成,页面将自动刷新
同步操作将从 openEuler-RISC-V/systemd 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From: fangxiuning <fangxiuning@huawei.com>
Date: Thu, 5 Sep 2019 07:40:41 +0800
Subject: fix two vf virtual machine has same mac address
through 82599,hns3 physical network cart vf two virtual machine,
two virtual machine have the same mac address.
MACAddressPolicy=
The policy by which the MAC address should be set. The available
policies are:
persistent
If the hardware has a persistent MAC address, as most hardware should,
and if it is used by the kernel, nothing is done. Otherwise, a new MAC
address is generated which is guaranteed to be the same on every boot
for the given machine and the given device, but which is otherwise random.
This feature depends on ID_NET_NAME_* properties to exist for the link.
On hardware where these properties are not set, the generation of a
persistent MAC address will fail.
random
If the kernel is using a random MAC address, nothing is done. Otherwise,
a new address is randomly generated each time the device appears,
typically at boot. Either way, the random address will have the "unicast"
and "locally administered" bits set.
none
Keeps the MAC address assigned by the kernel.
---
network/99-default.link | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/network/99-default.link b/network/99-default.link
index dc7a42bf58..2b8f46a84c 100644
--- a/network/99-default.link
+++ b/network/99-default.link
@@ -13,4 +13,4 @@ OriginalName=*
[Link]
NamePolicy=keep kernel database onboard slot path
AlternativeNamesPolicy=database onboard slot path
-MACAddressPolicy=persistent
+MACAddressPolicy=none
--
2.23.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。