[node-patches] Change in ovirt-node[ovirt-3.5]: Revert "net: Only persist the nic mapping once"
fabiand at redhat.com
fabiand at redhat.com
Thu Aug 6 08:03:48 UTC 2015
Fabian Deutsch has uploaded a new change for review.
Change subject: Revert "net: Only persist the nic mapping once"
......................................................................
Revert "net: Only persist the nic mapping once"
This reverts commit ae48a278cacb2c4bf2ae2003a85bbb497e788171.
Change-Id: I914fd521821c041c1f8bf6ed87a9219e9cd3b605
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/config/defaults.py
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/65/44465/1
diff --git a/src/ovirt/node/config/defaults.py b/src/ovirt/node/config/defaults.py
index 5ff19e1..ce74862 100755
--- a/src/ovirt/node/config/defaults.py
+++ b/src/ovirt/node/config/defaults.py
@@ -455,8 +455,7 @@
# overwritten at each boot, rhbz#773495
rulesfile = "/etc/udev/rules.d/70-persistent-net.rules"
newrulesfile = "/etc/udev/rules.d/71-persistent-node-net.rules"
- if File(rulesfile).exists() and \
- not File(newrulesfile).exists():
+ if File(rulesfile).exists():
process.check_call(["cp", rulesfile, newrulesfile])
fs.Config().persist(newrulesfile)
--
To view, visit https://gerrit.ovirt.org/44465
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I914fd521821c041c1f8bf6ed87a9219e9cd3b605
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
More information about the node-patches
mailing list