[node-patches] Change in ovirt-node[master]: pkg: Rename ovirt-config-setup to ovirt-node-setup

fabiand at fedoraproject.org fabiand at fedoraproject.org
Fri May 31 10:18:35 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: pkg: Rename ovirt-config-setup to ovirt-node-setup
......................................................................

pkg: Rename ovirt-config-setup to ovirt-node-setup

To have a common prefix for Node applications.
To prevent collisions and target a common naming scheme.

Change-Id: I106df368341c088a5ec8c5cf2a92c8253db62d35
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=969143
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M ovirt-node.spec.in
M recipe/common-post.ks
M scripts/Makefile.am
M scripts/ovirt-admin-shell
M src/ovirt/node/setup/__main__.py
5 files changed, 6 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/45/15245/1

diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index 20c4d23..956d268 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -550,7 +550,7 @@
 %{python_sitelib}/ovirt/node/installer/core/*.py*
 %exclude %{python_sitelib}/ovirt/node/setup/snmp/*.py*
 %exclude %{python_sitelib}/ovirt/node/setup/cim/*.py*
-%{_bindir}/ovirt-config-setup
+%{_bindir}/ovirt-node-setup
 %{_bindir}/ovirt-node-installer
 %{_bindir}/ovirt-node-doc
 
diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index dbf5782..622bf2a 100644
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -195,8 +195,8 @@
 #mount kernel debugfs
 echo "debugfs /sys/kernel/debug debugfs auto 0 0" >> /etc/fstab
 
-#symlink ovirt-config-setup into $PATH
-ln -s /usr/bin/ovirt-config-setup /usr/sbin/setup
+#symlink ovirt-node-setup into $PATH
+ln -s /usr/bin/ovirt-node-setup /usr/sbin/setup
 
 
 #set NETWORKING off by default
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index d904605..2a04255 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -27,7 +27,7 @@
   ovirt-node-upgrade.py
 
 dist_bin_SCRIPTS = \
-  ovirt-config-setup \
+  ovirt-node-setup \
   ovirt-node-installer \
   ovirt-node-doc
 
diff --git a/scripts/ovirt-admin-shell b/scripts/ovirt-admin-shell
index 57f9de8..ca4d338 100755
--- a/scripts/ovirt-admin-shell
+++ b/scripts/ovirt-admin-shell
@@ -8,7 +8,7 @@
     TTY=`echo $TTY|sed 's/\///g'`
     sudo rm -rf /tmp/ovirt-setup.$TTY
 fi
-sudo /usr/bin/ovirt-config-setup
+sudo /usr/bin/ovirt-node-setup
 reset
 
 # check for logout return code and drop to login prompt
diff --git a/src/ovirt/node/setup/__main__.py b/src/ovirt/node/setup/__main__.py
index b970757..59eff4f 100644
--- a/src/ovirt/node/setup/__main__.py
+++ b/src/ovirt/node/setup/__main__.py
@@ -1,7 +1,7 @@
 #!/usr/bin/python
 # -*- coding: utf-8 -*-
 #
-# ovirt-config-setup.py - Copyright (C) 2012 Red Hat, Inc.
+# ovirt-node-setup.py - Copyright (C) 2012 Red Hat, Inc.
 # Written by Fabian Deutsch <fabiand at redhat.com>
 #
 # This program is free software; you can redistribute it and/or modify


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I106df368341c088a5ec8c5cf2a92c8253db62d35
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list