[node-patches] Change in ovirt-node[master]: edit-node: make /etc/yum.repos.d directory
jboggs at redhat.com
jboggs at redhat.com
Wed Jul 17 14:45:35 UTC 2013
Joey Boggs has uploaded a new change for review.
Change subject: edit-node: make /etc/yum.repos.d directory
......................................................................
edit-node: make /etc/yum.repos.d directory
Change-Id: I8f004966d264df19979d67c276c0e9c0b7387bac
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
M tools/edit-node
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/20/17020/1
diff --git a/tools/edit-node b/tools/edit-node
index cfd44de..a307436 100755
--- a/tools/edit-node
+++ b/tools/edit-node
@@ -1112,6 +1112,9 @@
else:
if os.path.isfile(options.repo) and not \
options.repo.lower().endswith(".iso"):
+ cmd = "mkdir -p %s/etc/yum.repos.d" % self._instroot
+ f = subprocess.Popen(cmd, shell=True, stdout=PIPE,
+ stderr=STDOUT)
cmd = "touch /etc/yum.repos.d/plugin.repo"
f = subprocess.Popen(cmd, shell=True, stdout=PIPE,
stderr=STDOUT,
--
To view, visit http://gerrit.ovirt.org/17020
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8f004966d264df19979d67c276c0e9c0b7387bac
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>
More information about the node-patches
mailing list