diff options
author | Thomas Haller <thaller@redhat.com> | 2018-07-11 15:27:58 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-07-11 15:39:41 +0200 |
commit | a26cf2b64d027bdd093e09fe306a2b855b9d53a3 (patch) | |
tree | 88310987d8a415c40b7896168b8381831480a133 | |
parent | fe0b66ad82d82ebb5df9d1270332d21b47cf00a8 (diff) | |
download | NetworkManager-a26cf2b64d027bdd093e09fe306a2b855b9d53a3.tar.gz |
fixup! ifcfg-rh: SR-IOV support
-rw-r--r-- | src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-writer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-writer.c b/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-writer.c index 91b83a3df3..2a08e9c984 100644 --- a/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-writer.c +++ b/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-writer.c @@ -2161,6 +2161,8 @@ write_sriov_setting (NMConnection *connection, shvarFile *ifcfg) b = nm_setting_sriov_get_autoprobe_drivers (s_sriov); if (b != NM_TERNARY_DEFAULT) svSetValueInt64 (ifcfg, "SRIOV_AUTOPROBE_DRIVERS", b); + else + svUnsetValue (ifcfg, "SRIOV_AUTOPROBE_DRIVERS"); num = nm_setting_sriov_get_num_vfs (s_sriov); for (i = 0; i < num; i++) { |