[node-patches] Change in ovirt-node[master]: recipe: centos7-post remove virt-who

dougsland at redhat.com dougsland at redhat.com
Wed Apr 1 18:26:27 UTC 2015


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: recipe: centos7-post remove virt-who
......................................................................

recipe: centos7-post remove virt-who

virt-who is not required for centos distro.
This patch removes the unneeded files for virt-who.

Change-Id: Ic5bd945979f8b6942c9fe29efbc839ebd3ec77e2
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M recipe/centos7-post.ks
1 file changed, 0 insertions(+), 29 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/64/39464/1

diff --git a/recipe/centos7-post.ks b/recipe/centos7-post.ks
index f073b9a..9bdf9ff 100644
--- a/recipe/centos7-post.ks
+++ b/recipe/centos7-post.ks
@@ -178,35 +178,6 @@
 sed -ie '/dirs[ \t].*nfs/ d' /etc/rwtab
 echo "files     /var/lib/nfs" >> /etc/rwtab
 
-# rhbz#734478 add virt-who (*.py are removed in rhevh image)
-cmd_who=""
-if [ -f /usr/share/virt-who/virt-who.pyc ]; then
-    cmd_who="virt-who.pyc"
-elif [ -f /usr/share/virt-who/virtwho.pyc ]; then
-    cmd_who="virtwho.pyc"
-else
-    echo "Couldn't find a known virt-who executable. Please check"
-fi
-
-if [ ! -z $cmd_who ]; then
-   cat > /usr/bin/virt-who <<EOF_virt_who
-#!/bin/sh
-exec /usr/bin/python /usr/share/virt-who/$cmd_who "\$@"
-EOF_virt_who
-fi
-
-# rhbz 1152947 fixing virt-who start dependancy syslog.socket
-# first of all fixing the missing link of syslog to rsyslog
-# depending service and socket for correct operation
-
-sed -i "s/syslog\.target/syslog.socket/" /usr/lib/systemd/system/virt-who.service
-sed -i "s/;Requires/Requires/" /lib/systemd/system/rsyslog.service
-ln -s /lib/systemd/system/rsyslog.service /etc/systemd/system/syslog.service
-
-#enabling libvirtd as described in its libvirtd.service comments and virt-who as requested in bug
-systemctl enable libvirtd.service
-systemctl enable virt-who.service
-
 # set maxlogins to 3
 echo "*        -       maxlogins      3" >> /etc/security/limits.conf
 


-- 
To view, visit https://gerrit.ovirt.org/39464
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5bd945979f8b6942c9fe29efbc839ebd3ec77e2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list