[node-patches] Change in ovirt-node[master]: Fix [Error 2]No such file or directory issue when setting NF...

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon Aug 19 13:41:43 UTC 2013


Fabian Deutsch has posted comments on this change.

Change subject: Fix [Error 2]No such file or directory issue when setting NFSv4 Domain
......................................................................


Patch Set 3: Code-Review-1

(1 comment)

Basically fine, you just missed one arg,

....................................................
File src/ovirt/node/utils/storage.py
Line 53:         cmd = None
Line 54:         if current_domain.startswith("#"):
Line 55:             current_domain = ("#Domain = %s" %
Line 56:                               current_domain.replace("# ", ""))
Line 57:             cmd = ['sed', '-i', 's/%s/Domain = %s/g' %
-c is needed here too
Line 58:                    (current_domain, domain), '%s' %
Line 59:                    self.configfilename]
Line 60:         else:
Line 61:             cmd = ['sed', '-i', '-c', '/^Domain/ s/%s/%s/g' %


-- 
To view, visit http://gerrit.ovirt.org/18278
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6dded758e8dc6a61c3af1ec4445ff276c61fa5eb
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: hadong <hadong0720 at gmail.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes



More information about the node-patches mailing list