[node-patches] Change in ovirt-node[master]: Fudge kdumpctl to acknowledge "net" for SSH propagation

rbarry at redhat.com rbarry at redhat.com
Sun Sep 28 16:05:44 UTC 2014


Ryan Barry has uploaded a new change for review.

Change subject: Fudge kdumpctl to acknowledge "net" for SSH propagation
......................................................................

Fudge kdumpctl to acknowledge "net" for SSH propagation

augeas can't set 'ssh' in kdumpctl yet, so we have to use net to
avoid using a template, but kdumpctl looks for 'ssh' explicitly

Work around it until augeas support goes to 7.0.z

Change-Id: I7b4a9f6a6086b96028d9f96c90f0a425dfcc805e
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1095140
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M recipe/rhevh7-post.ks
1 file changed, 19 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/36/33436/1

diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index 0d693eb..8cc3112 100644
--- a/recipe/rhevh7-post.ks
+++ b/recipe/rhevh7-post.ks
@@ -1,5 +1,24 @@
 %include version.ks
 
+# patch kdumpctl so "net" still works for now
+# can remove when rhbz#1139298 lands
+# rhbz#1095140
+patch -d /bin -p0 << \EOF_kdump
+--- /bin/kdumpctl       2014-09-12 07:34:23.000000000 +0000
++++ /tmp/kdumpctl       2014-09-28 15:56:32.189000000 +0000
+@@ -476,6 +476,9 @@
+                ssh)
+                        DUMP_TARGET=$config_val
+                        ;;
++               net)
++                       DUMP_TARGET=$config_val
++                       ;;
+                *)
+                        ;;
+                esac
+EOF_kdump
+
+
 # add RHEV-H rwtab locations
 mkdir -p /rhev
 cat > /etc/rwtab.d/rhev << EOF_RWTAB_RHEVH


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7b4a9f6a6086b96028d9f96c90f0a425dfcc805e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list